已更新至webpack配置

This commit is contained in:
3056762376@qq.com 2022-11-14 17:58:34 +08:00
parent 2e43bfe1d6
commit ab50d51f45
2 changed files with 2 additions and 2 deletions

View File

@ -9,5 +9,5 @@
<body> <body>
</body> </body>
<script src="./__dirname/dist/results.js"></script> <script src="./dist/result.js"></script>
</html> </html>

View File

@ -5,7 +5,7 @@
"main": "webpack.config.js", "main": "webpack.config.js",
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1", "test": "echo \"Error: no test specified\" && exit 1",
"build": "webpack" "serve": "webpack"
}, },
"author": "", "author": "",
"license": "ISC", "license": "ISC",