🚀 use webpack.config.ts

This commit is contained in:
platane
2020-10-09 12:04:09 +02:00
committed by Platane
parent bb0750e8ba
commit bc18120a98
5 changed files with 504 additions and 373 deletions

View File

@@ -7,16 +7,17 @@
},
"devDependencies": {
"@types/dat.gui": "0.7.5",
"@types/webpack": "4.41.22",
"dat.gui": "0.7.7",
"html-webpack-plugin": "4.5.0",
"ts-loader": "8.0.4",
"ts-node": "9.0.0",
"webpack": "4.44.2",
"webpack-cli": "3.3.12",
"webpack-dev-server": "3.11.0"
},
"scripts": {
"prepare": "tsc webpack.config.ts",
"build": "yarn prepare ; webpack",
"dev": "yarn prepare ; webpack-dev-server --port ${PORT-3000}"
"build": "webpack",
"dev": "webpack-dev-server --port ${PORT-3000}"
}
}