Skip to content

Commit

Permalink
feat: Support webpack 5
Browse files Browse the repository at this point in the history
  • Loading branch information
fwh1990 committed Oct 15, 2020
1 parent 0465185 commit add158b
Show file tree
Hide file tree
Showing 33 changed files with 2,475 additions and 1,561 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ node_modules/
*.log
build/
dist/
lib/
lib
TODO
93 changes: 50 additions & 43 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "webpack-genius",
"version": "4.14.4",
"version": "5.0.0-beta.0",
"main": "lib/index.js",
"repository": "git@github.com:fwh1990/webpack-genius.git",
"author": "范文华 <531362022@qq.com>",
Expand All @@ -16,77 +16,84 @@
"scripts": {
"prepublishOnly": "sh ./prepublish.sh"
},
"sharedDeps": [
"yargs",
"react-dev-utils",
"v8-compile-cache",
"terser-webpack-plugin",
"postcss",
"lodash",
"chalk",
"cosmiconfig"
],
"dependencies": {
"@babel/core": "7.11.6",
"@babel/core": "7.12.0",
"@babel/plugin-proposal-class-properties": "7.10.4",
"@babel/plugin-proposal-decorators": "7.10.5",
"@babel/plugin-proposal-nullish-coalescing-operator": "7.10.4",
"@babel/plugin-proposal-optional-chaining": "7.11.0",
"@babel/plugin-transform-runtime": "7.11.5",
"@babel/preset-env": "7.11.5",
"@babel/plugin-proposal-nullish-coalescing-operator": "7.12.0",
"@babel/plugin-proposal-optional-chaining": "7.12.0",
"@babel/plugin-transform-runtime": "7.12.0",
"@babel/preset-env": "7.12.0",
"@babel/preset-react": "7.10.4",
"@babel/preset-typescript": "7.10.4",
"@babel/runtime-corejs3": "7.11.2",
"@babel/types": "7.11.5",
"@babel/preset-typescript": "7.12.0",
"@babel/runtime-corejs3": "7.12.0",
"@babel/types": "7.12.0",
"@pmmmwh/react-refresh-webpack-plugin": "0.4.2",
"@types/copy-webpack-plugin": "6.0.0",
"@types/html-webpack-plugin": "3.2.3",
"@types/mini-css-extract-plugin": "0.9.1",
"@types/mini-css-extract-plugin": "1.0.0",
"@types/terser-webpack-plugin": "4.2.0",
"@types/webpack": "4.41.22",
"@types/webpack-dev-server": "3.11.0",
"@types/webpack-env": "1.15.3",
"antd-dayjs-webpack-plugin": "1.0.1",
"autoprefixer": "^10.0.1",
"autoprefixer": "10.0.1",
"babel-loader": "8.1.0",
"babel-plugin-import": "1.13.0",
"babel-plugin-import": "1.13.1",
"babel-plugin-lodash": "3.3.4",
"cache-loader": "4.1.0",
"chalk": "4.1.0",
"clean-webpack-plugin": "3.0.0",
"compression-webpack-plugin": "6.0.2",
"copy-webpack-plugin": "6.1.1",
"cosmiconfig": "^7.0.0",
"css-loader": "4.3.0",
"compression-webpack-plugin": "6.0.3",
"copy-webpack-plugin": "6.2.1",
"cosmiconfig": "7.0.0",
"css-loader": "5.0.0",
"error-overlay-webpack-plugin": "0.4.1",
"fibers": "5.0.0",
"file-loader": "6.1.0",
"html-loader": "1.3.1",
"file-loader": "6.1.1",
"html-loader": "1.3.2",
"html-webpack-plugin": "4.5.0",
"json5-loader": "4.0.0",
"less": "^3.12.2",
"less-loader": "7.0.1",
"lodash.clonedeep": "4.5.0",
"mini-css-extract-plugin": "0.11.2",
"json5-loader": "4.0.1",
"less": "3.12.2",
"less-loader": "7.0.2",
"lodash": "4.17.20",
"mini-css-extract-plugin": "1.0.0",
"optimize-css-assets-webpack-plugin": "5.0.4",
"postcss": "^8.1.1",
"postcss-loader": "4.0.2",
"preload-webpack-plugin": "3.0.0-beta.4",
"postcss": "8.1.1",
"postcss-loader": "4.0.4",
"progress-bar-webpack-plugin": "2.1.0",
"react-dev-utils": "10.2.1",
"react-dev-utils": "9.1.0",
"react-refresh": "0.8.3",
"sass": "1.26.11",
"sass-loader": "10.0.2",
"style-loader": "1.2.1",
"terser-webpack-plugin": "4.2.2",
"sass": "1.27.0",
"sass-loader": "10.0.3",
"style-loader": "2.0.0",
"terser-webpack-plugin": "5.0.0",
"thread-loader": "3.0.0",
"ts-node": "9.0.0",
"typescript": "4.0.3",
"url-loader": "4.1.0",
"url-loader": "4.1.1",
"v8-compile-cache": "2.1.1",
"webpack": "4.44.2",
"webpack-cli": "3.3.12",
"webpack-dev-server": "3.11.0"
"webpack": "5.1.0",
"webpack-cli": "4.0.0",
"webpack-dev-server": "3.11.0",
"yargs": "13.3.2"
},
"devDependencies": {
"@types/autoprefixer": "9.7.2",
"@types/compression-webpack-plugin": "4.0.1",
"@types/lodash.clonedeep": "4.5.6",
"@types/node": "14.11.2",
"@types/lodash": "4.14.162",
"@types/node": "14.11.8",
"@types/optimize-css-assets-webpack-plugin": "5.0.1",
"@types/yargs": "15.0.8",
"public-refactor": "0.5.1",
"react": "16.13.1",
"react-dom": "16.13.1"
"react": "16.14.0",
"react-dom": "16.14.0"
},
"files": [
"lib",
Expand Down
Loading

0 comments on commit add158b

Please sign in to comment.