|
|
|
@ -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就坏了
|
|
|
|
|