Skip to content

Commit

Permalink
feat: use webpack 5
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiqingchen committed Aug 8, 2022
1 parent 4e87999 commit d2a0123
Show file tree
Hide file tree
Showing 3 changed files with 1,696 additions and 2,144 deletions.
1 change: 1 addition & 0 deletions config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ const config = {
750: 1,
828: 1.81 / 2
},
compiler: 'webpack5',
sourceRoot: "src",
outputRoot: `dist/${process.env.TARO_ENV}`,
plugins: [],
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,14 @@
"react-dom": "^17.0.2",
"react-native": "^0.68.2",
"react-refresh": "^0.14.0",
"webpack": "5.69.0",
"taro-ui": "^3.0.0-alpha.3"
},
"devDependencies": {
"@babel/core": "^7.8.0",
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@tarojs/mini-runner": "^3.5.2",
"@tarojs/webpack-runner": "^3.5.2",
"@tarojs/webpack5-runner": "^3.5.2",
"@types/react": "^17.0.2",
"@types/webpack-env": "^1.13.6",
"@typescript-eslint/eslint-plugin": "^2.x",
Expand Down
Loading

0 comments on commit d2a0123

Please sign in to comment.