Haoqun Jiang
4ce7edd375
feat: use html-webpack-plugin v5 by default ( #6269 )
2021-02-10 11:17:49 +08:00
Veath
b41ed76c5c
fix: mini-css-extract-plugin publicPath option can be an absolute path ( #6230 )
...
When the user sets the project public path to the absolute path, the extract-css publicPath option should be changed accordingly
2021-01-27 21:33:42 +08:00
Binwei Fang
b9e2f70f07
fix(cli-service): avoiding recreating dist directory ( #6221 )
2021-01-25 16:20:17 +08:00
Haoqun Jiang
3d80810a55
v5.0.0-alpha.3
2021-01-22 16:20:35 +08:00
Haoqun Jiang
bf6ce27a35
chore: pre release sync
2021-01-22 16:19:44 +08:00
Kristoffer K
b69697ebba
fix(cli): resolve plugins relative to the package context ( #5794 )
...
Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com >
2021-01-22 15:52:12 +08:00
Haoqun Jiang
45aca819d1
fix: "commonjs2" target should not be used with "output.library" ( #6218 )
...
Closes #6188
2021-01-21 10:27:48 +08:00
Haoqun Jiang
c711516125
feat!: bump default sass-loader version to v10, drop sass-loader v7 support ( #6187 )
2021-01-10 19:04:39 +08:00
Haoqun Jiang
48d6afd73d
v5.0.0-alpha.2
2021-01-06 15:31:25 +08:00
Haoqun Jiang
60c0004a7c
chore: pre release sync
2021-01-06 15:30:36 +08:00
Haoqun Jiang
6ee1413aaa
chore: Merge branch 'next' into dev
2021-01-06 15:29:35 +08:00
Haoqun Jiang
104f9bcc71
v5.0.0-alpha.1
2021-01-06 15:25:18 +08:00
Haoqun Jiang
dfa7148b80
chore: pre release sync
2021-01-06 15:24:57 +08:00
Haoqun Jiang
4378c8df26
style: replace eslint-plugin-vue-libs with standard config ( #6148 )
2021-01-06 14:29:12 +08:00
Githoniel
a634400529
fix(cli-service): restrict request headers of historyApiFallback in WebpackDevServer ( #6162 )
2021-01-05 13:40:42 +08:00
Cédric Exbrayat
d74351456a
chore: use webpack-chain v6.5.1 ( #6157 )
...
Vue CLI v5.0.0-alpha.0 uses `rule.resolve` in the CLI service (see https://github.com/vuejs/vue-cli/blob/v5.0.0-alpha.0/packages/@vue/cli-service/lib/config/base.js#L17-L20 ) which was introduced in webpack-chain v6.5.0.
As the CLI service defines a dependency to webpack-chain v6.4.0, this causes issues in existing projects when trying to upgrade to the CLi v5.
Upgrading an existing project leads to `yarn build` throwing:
```
TypeError: Cannot read property 'set' of undefined
at /Users/ced-pro/Code/ninjasquad/vue-ebook/book-tests/node_modules/@vue/cli-service/lib/config/base.js:20:19
at /Users/ced-pro/Code/ninjasquad/vue-ebook/book-tests/node_modules/@vue/cli-service/lib/Service.js:240:40
at Array.forEach (<anonymous>)
at Service.resolveChainableWebpackConfig (/Users/ced-pro/Code/ninjasquad/vue-ebook/book-tests/node_modules/@vue/cli-service/lib/Service.js:240:26)
at PluginAPI.resolveChainableWebpackConfig (/Users/ced-pro/Code/ninjasquad/vue-ebook/book-tests/node_modules/@vue/cli-service/lib/PluginAPI.js:145:25)
at module.exports (/Users/ced-pro/Code/ninjasquad/vue-ebook/book-tests/node_modules/@vue/cli-service/lib/commands/build/resolveAppConfig.js:9:22)
at build (/Users/ced-pro/Code/ninjasquad/vue-ebook/book-tests/node_modules/@vue/cli-service/lib/commands/build/index.js:147:50)
at /Users/ced-pro/Code/ninjasquad/vue-ebook/book-tests/node_modules/@vue/cli-service/lib/commands/build/index.js:89:13
at Service.run (/Users/ced-pro/Code/ninjasquad/vue-ebook/book-tests/node_modules/@vue/cli-service/lib/Service.js:234:12)
at Object.<anonymous> (/Users/ced-pro/Code/ninjasquad/vue-ebook/book-tests/node_modules/@vue/cli-service/bin/vue-cli-service.js:36:9)
```
This fixes the issue by specifying the necesseray minimal version for webpack-chain.
2020-12-20 15:13:19 +08:00
Haoqun Jiang
0372160524
chore: some trivial dependency version bumps ( #6152 )
2020-12-17 16:24:10 +08:00
Haoqun Jiang
5b3ab5d810
fix: temporary workaround for vuepress build
2020-12-14 22:20:35 +08:00
Haoqun Jiang
7139e4093a
v5.0.0-alpha.0
2020-12-14 19:48:08 +08:00
Haoqun Jiang
ff9671456e
chore: pre release sync
2020-12-14 19:47:23 +08:00
Haoqun Jiang
a7387ef614
Revert "chore: pre release sync"
...
This reverts commit ba5caf0c30 .
It was accidentally committed when I was testing on my local registry
2020-12-14 19:44:31 +08:00
Haoqun Jiang
e22d7f867a
fix: fix title injection of the generated html file
2020-12-14 16:39:27 +08:00
Haoqun Jiang
ba5caf0c30
chore: pre release sync
2020-12-14 13:01:33 +08:00
Haoqun Jiang
3b3cd9060b
refactor: replace cache-loader with babel-loader's built-in cache ( #6142 )
...
It's supposed to have better performance.
See https://github.com/babel/babel-loader/issues/525#issuecomment-375756108
Besides, this improves webpack 5 compatibilities as cache-loader is now
deprecated
2020-12-14 10:41:55 +08:00
Haoqun Jiang
4de8c99603
refactor!: replace optimize-cssnano-plugin with css-minimizer-webpack-plugin ( #6140 )
2020-12-14 09:36:43 +08:00
Haoqun Jiang
696cbd1f14
chore: dependency and lockfile maintenance
2020-12-11 14:53:13 +08:00
Haoqun Jiang
eee082d331
feat: bump lint-staged to v10 ( #6136 )
2020-12-11 14:37:25 +08:00
Haoqun Jiang
b9cce99117
test: do not hard-code major version number in test
2020-12-09 16:23:24 +08:00
Yazhe Wang
7e42890394
chore!: bump stylus-loader from v3 to v4 ( #6130 )
2020-12-09 15:10:23 +08:00
Haoqun Jiang
f73fa6e4e5
chore: dependency maintenance
2020-12-08 15:29:09 +08:00
Haoqun Jiang
89b0377c4f
feat!: upgrade postcss-loader, using postcss 8 by default ( #6108 )
2020-12-08 13:21:37 +08:00
Haoqun Jiang
2dbe0be840
feat!: support and use webpack 5 as default ( #6060 )
2020-12-03 15:16:35 +08:00
Kristoffer K
f6850440bc
fix(cli-service): don't write entry-wc to node_modules ( #6101 )
...
Fixes https://github.com/yarnpkg/berry/issues/2189
2020-12-02 21:16:50 +08:00
Andrei
bd1f1b774b
chore!: remove deprecated node-sass ( #6090 )
2020-12-02 15:11:49 +08:00
JayZhong
6c3f118261
fix(cli-service): html template add html5 doctype declaration ( #6083 )
2020-12-02 10:21:59 +08:00
Jisoo Youn
928f915406
chore: webpack-bundle-analyzer to ^4.1.0 ( #6092 )
...
Fixes : #6091
2020-12-02 10:05:42 +08:00
Haoqun Jiang
3b068678cb
fix(mocha): disable SSR optimization for Vue 3 testing ( #6097 )
...
Fixes https://github.com/vuejs/vue-loader/issues/1734
2020-11-30 15:20:21 +08:00
Jonas
33f954cccf
fix(cli-service): pass --public host to devserver ( #6066 )
...
Fixes #3220
Prevent "Invalid Host" error by passing public host to dev server when --public is used
2020-11-20 15:17:45 +08:00
Haoqun Jiang
482ef1086b
chore!: bump joi to v17 ( #5973 )
2020-11-19 15:34:31 +08:00
Haoqun Jiang
05c010e83a
chore!: drop support of end-of-life node releases (8, 11, 13) ( #6052 )
2020-11-14 13:19:55 +08:00
Haoqun Jiang
66a87f2c1a
chore!: drop support of NPM 5 ( #6051 )
2020-11-14 13:19:34 +08:00
Yazhe Wang
ba6cb7c5b3
refactor!: replace request with node-fetch ( #6009 )
2020-11-13 13:26:57 +08:00
Max Coplan
0b86e70f86
types(vue.config.js): add descriptions for config ( #5967 )
...
Adding descriptions for vue.config.js so that editor can provide more parameter info
Co-authored-by: Binwei Fang <fangbinwei@yeah.net >
2020-11-02 23:13:23 +08:00
Binwei Fang
2373df1630
fix: using lang attribute with empty string in html template ( #5992 )
...
Fixes #5945
`lang="en"` may be wrong to users, use empty string instead. See : https://github.com/h5bp/html5-boilerplate/issues/1542
2020-10-26 16:23:09 +08:00
Haoqun Jiang
25a89c6a50
chore: merge branch 'v4' into dev
2020-10-19 18:47:57 +08:00
Haoqun Jiang
d06a1e8995
v4.5.8
2020-10-19 18:39:13 +08:00
Haoqun Jiang
5898fcb848
fixup! chore!: some trivial dependency major version updates ( #5951 )
2020-10-16 14:30:03 +08:00
Haoqun Jiang
90d3dfc74e
chore!: some trivial dependency major version updates ( #5951 )
2020-10-15 15:47:45 +08:00
Haoqun Jiang
3656416bd0
chore: merge branch 'next' into dev
2020-10-09 15:12:38 +08:00
Haoqun Jiang
597b4b6436
v4.5.7
2020-10-07 16:39:24 +08:00