8000 feat!: support and use webpack 5 as default by haoqunjiang · Pull Request #6060 · vuejs/vue-cli · GitHub
[go: up one dir, main page]

Skip to content

feat!: support and use webpack 5 as default #6060

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 49 commits into from
Dec 3, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
ce5125f
feat!: support webpack 5
haoqunjiang Nov 16, 2020
d51e8e8
feat: support loading webpack from the user project
haoqunjiang Nov 16, 2020
ee8ae18
fix: add error handling for detecting webpack dependency
haoqunjiang Nov 16, 2020
fa51eb2
fix: allow `.mjs` files to be resolved without specifying the full path
haoqunjiang Nov 16, 2020
3c212fe
chore: Merge branch 'dev' into feat-webpack-5
haoqunjiang Nov 19, 2020
413aa31
fix: add babel-loader to ts plugin dependencies
haoqunjiang Nov 19, 2020
33213e6
fix: force upgrade all deps to webpack 5 for now
haoqunjiang Nov 20, 2020
5542e35
ci: skip global service testing
haoqunjiang Nov 20, 2020
f2ebf83
fix: fix eslint errors for wdio plugin
haoqunjiang Nov 20, 2020
920db51
test: fix jest args order
haoqunjiang Nov 20, 2020
7c672bd
fix: use vue-loader v16 as the main vue-loader dependency
haoqunjiang Nov 20, 2020
5185a69
fix: `fullySpecified` option only available in webpack 5
haoqunjiang Nov 20, 2020
deb3810
fix: use full dependency path
haoqunjiang Nov 20, 2020
d6c4ea1
fix: use resolutions to force webpack 4 for mocha plugin
haoqunjiang Nov 20, 2020
afa05b2
test: should not use file:// protocol now that we have verdaccio
haoqunjiang Nov 20, 2020
b5ba3c5
test: yet another dirty fix for verdaccio testing
haoqunjiang Nov 20, 2020
8a04d92
test: quick fix for mocha e2e test
haoqunjiang Nov 20, 2020
6e1b2f6
test: fix cmd arg
haoqunjiang Nov 21, 2020
babd417
fix: add `@vue/server-renderer` to devDependencies
haoqunjiang Nov 21, 2020
f35ae5b
feat!: upgrade pwa plugin to work with webpack 5
haoqunjiang Nov 22, 2020
24f5d4a
refactor: minify option is enabled by default for html-webpack-plugin 4
haoqunjiang Nov 22, 2020
85bf493
test: remove core-js-pure from test project name to avoid false positive
haoqunjiang Nov 22, 2020
43a8272
test: webpack 5 now use hash for async chunk outputs instead of numbers
haoqunjiang Nov 23, 2020
bed72d4
test: move ts+mocha test to e2e group
haoqunjiang Nov 23, 2020
61d7424
chore: Merge branch 'dev' into feat-webpack-5
haoqunjiang Nov 24, 2020
9480af2
ci: add webpack 4 tests to circleci
haoqunjiang Nov 24, 2020
4f16452
chore: pnp plugin only required for webpack 4
haoqunjiang Nov 25, 2020
feb94d1
docs: more instruction on webpack 5 upgrade
haoqunjiang Nov 25, 2020
994b11f
chore: add comment [ci skip]
haoqunjiang Nov 26, 2020
5842c45
chore: update bundle analyzer
haoqunjiang Nov 26, 2020
37b4b42
fix: read the asset source from outputFileSystem
haoqunjiang Nov 27, 2020
6494c70
fix: fix progress data
haoqunjiang Nov 27, 2020
596f5f3
chore: Merge branch 'dev' into feat-webpack-5
haoqunjiang Nov 30, 2020
71b9f0e
chore: update lockfile
haoqunjiang Nov 30, 2020
4954ccc
test: should test ts-unit-mocha project outside the monorepo
haoqunjiang Nov 30, 2020
b95cbc2
fix: fix windows import path
haoqunjiang Nov 30, 2020
97a1849
ci: ignore global service tests in appveyor too
haoqunjiang Nov 30, 2020
94d609e
feat: use module-alias if user don't or can't use force resolutions f…
haoqunjiang Nov 30, 2020
a4e3cf5
feat: prefer "resolutions" over module-alias whenver possible
haoqunjiang Dec 1, 2020
696811a
test: don't skip vue 3 tests
haoqunjiang Dec 1, 2020
78061d7
chore: clean up
haoqunjiang Dec 1, 2020
e46fda2
docs: document the changes
haoqunjiang Dec 1, 2020
3adc207
chore: add terser-webpack-plugin v4 back
haoqunjiang Dec 1, 2020
1c4da4d
chore: update webpack-merge
haoqunjiang Dec 2, 2020
747b23f
chore: Merge branch 'dev' into feat-webpack-5
haoqunjiang Dec 3, 2020
ab3e4cb
test: use names, instead of id to find the app chunk
haoqunjiang Dec 3, 2020
e685e66
fix: properly test webpack 4
haoqunjiang Dec 3, 2020
2fb6bb3
fix: add fix for webpack 4 dev server HMR
haoqunjiang Dec 3, 2020
da4df86
test: remove .only
haoqunjiang Dec 3, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: update webpack-merge
  • Loading branch information
haoqunjiang committed Dec 2, 2020
commit 1c4da4d8054bffe58d2417f2adb7d620f6f9c5e0
2 changes: 1 addition & 1 deletion packages/@vue/cli-service/lib/Service.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const fs = require('fs')
const path = require('path')
const debug = require('debug')
const merge = require('webpack-merge')
const { merge } = require('webpack-merge')
const Config = require('webpack-chain')
const PluginAPI = require('./PluginAPI')
const dotenv = require('dotenv')
Expand Down
2 changes: 1 addition & 1 deletion packages/@vue/cli-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"webpack-bundle-analyzer": "^3.8.0",
"webpack-chain": "^6.4.0",
"webpack-dev-server": "^3.11.0",
"webpack-merge": "^4.2.2"
"webpack-merge": "^5.4.0"
},
"peerDependencies": {
"@vue/compiler-sfc": "^3.0.0-beta.14",
Expand Down
Loading
0