开发:更新webpack配置

pull/2746/MERGE
ChenX 5 months ago
parent a90e66638f
commit 652ecb1e02

@ -28,9 +28,7 @@ const config: webpack.Configuration = {
cache: {
type: 'filesystem',
},
entry: {
main: "./src/index.tsx",
},
entry: "./src/index.tsx",
output: {
filename: "[contenthash].[name].js",
path: resolve(DIST_DIR),//虽然不需要提供 但是如果不提供CleanWebpackPlugin就坏了

Loading…
Cancel
Save