Haoqun Jiang
7c580b8f0b
fix: fix build --dest option ( #6314 )
...
Closes #6312
2021-03-10 13:28:33 +08:00
Haoqun Jiang
f4fb99de97
feat!: upgrade to css-loader 5; remove css.requireModuleExtension & css.modules options ( #6332 )
2021-03-10 00:05:02 +08:00
Haoqun Jiang
6f88bd5ff4
v5.0.0-alpha.5
2021-02-23 16:44:23 +08:00
Haoqun Jiang
fdf86b5935
chore: pre release sync
2021-02-23 16:42:01 +08:00
Haoqun Jiang
9e5b194abf
chore: bump sass-loader versions in template
2021-02-22 16:28:12 +08:00
Haoqun Jiang
1a5100b5a0
test: remove e2e test for dart sass
...
It doesn't add much value and interferes webpack 4 tests
2021-02-22 16:27:20 +08:00
Haoqun Jiang
e8e4bd7a6e
chore: bump some devDependencies versions
2021-02-22 15:01:08 +08:00
Haoqun Jiang
6dd15344d4
chore!: update default postcss-loader
...
fixup f9169d865b
2021-02-22 15:01:08 +08:00
Haoqun Jiang
f9169d865b
feat!: use the latest versions of css preprocessor loaders by default ( #6301 )
2021-02-21 22:32:15 +08:00
Haoqun Jiang
64c04cb00d
chore!: drop Node.js v10 support ( #6292 )
2021-02-20 11:07:22 +08:00
Haoqun Jiang
4d134066b4
fix: better dev server & webpack 4 compatibility and some trivial dependency updates ( #6291 )
2021-02-19 15:07:31 +08:00
Haoqun Jiang
cf3d801934
v5.0.0-alpha.4
2021-02-18 15:44:47 +08:00
Haoqun Jiang
d91728f7ca
chore: pre release sync
2021-02-18 15:43:57 +08:00
Haoqun Jiang
0dccc4af38
feat!: update copy & terser plugin, move more legacy code to webpack-4 plugin ( #6279 )
2021-02-18 14:37:45 +08:00
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