Skip to content

Commit

Permalink
fix: Lock the @types/webpack version to v4.41.27 #198
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Mar 26, 2021
1 parent d2a6522 commit e2fdb85
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"@types/fs-extra": "9.0.9",
"@types/minimist": "1.2.1",
"@types/semver": "7.3.4",
"@types/webpack": "4.41.27",
"@types/webpack-dev-server": "3.11.3",
"fs-extra": "9.1.0",
"minimist": "1.2.5",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-library/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export default (conf: Configuration, env: string, options = {} as ReactLibraryOp
terserOptions: {
// https://github.com/webpack-contrib/terser-webpack-plugin#terseroptions
},
}),
}) as any,
);
conf.output.filename = minfilename.join('.');
delete conf.optimization.runtimeChunk;
Expand Down

0 comments on commit e2fdb85

Please sign in to comment.