Commit Graph

1002 Commits

Author SHA1 Message Date
Haoqun Jiang c1bf3d8746 v5.0.0-beta.3 2021-08-10 15:05:41 +08:00
Haoqun Jiang 627f51b1dd chore: pre release sync 2021-08-10 15:05:09 +08:00
Haoqun Jiang cf1022d4c4 chore: bump dependency versions 2021-08-02 15:39:01 +08:00
Haoqun Jiang 17a0c3708c fix: mark sideEffects: true for styles in Vue components (#6597)
See discussions at https://github.com/vuejs/vue-loader/issues/1435
2021-07-30 14:04:21 +08:00
Haoqun Jiang e41ef41540 chore!: drop webpack-4 support in v5 (#6598)
1. I don't think I'll ever have the capacity to keep maintaining this
compat plugin. It's better to drop it now than later.
2. The plugin is needed at the time of alpha.0 because many ecosystem
plugins does not support webpack 5. But now I don't think it will be a
major hurdle.
3. The implementation was too hacky.
2021-07-30 14:03:54 +08:00
Muhammadamin 566c803a49 feat(cli-service): add support new image format avif (#6530) 2021-06-23 15:31:50 +08:00
Haoqun Jiang ae7c5a57f0 v5.0.0-beta.2 2021-06-09 13:15:30 +08:00
Haoqun Jiang 4c753bc7e8 chore: pre release sync 2021-06-09 13:15:07 +08:00
Haoqun Jiang 820b9b7826 chore: use scoped package names for aliases (#6519) 2021-06-09 08:37:05 +08:00
Binwei Fang 4be4bb39ad feat: implement plugin execution order (#6411) 2021-06-07 16:49:44 +08:00
tomica 9f2aa63453 fix: don't append slash on publicPath: 'auto' (#6506) 2021-06-03 21:15:51 +08:00
Haoqun Jiang e6262a4fb5 v5.0.0-beta.1 2021-05-14 16:40:11 +08:00
Haoqun Jiang 5612398803 chore: pre release sync 2021-05-14 16:39:50 +08:00
Haoqun Jiang cc6f74d038 fix: webpack-sources is an optinal peer dependency
It is only required when we are using webpack 4
2021-05-14 15:59:39 +08:00
Kael ca26f8cec1 fix(SafariNomoduleFixPlugin): use RawSource instead of a plain object (#6470) 2021-05-14 15:58:53 +08:00
Thomas Timmers 3bb2d84045 feat: add "tags" part to htmlWebpackPlugin (#6472)
Add it for use-cases like https://github.com/jantimon/html-webpack-plugin/tree/main/examples/custom-insertion-position
2021-05-14 15:39:26 +08:00
Haoqun Jiang 2d3116ed50 v5.0.0-beta.0 2021-04-25 17:18:28 +08:00
Haoqun Jiang de525813f8 chore: pre release sync 2021-04-25 17:17:53 +08:00
Haoqun Jiang cd6db824c7 fix: use .needsDifferentialLoading instead of .module
Because we now automatically skips differential loading if all targets
support es module, regardless of the `.module` flag
2021-04-25 14:18:53 +08:00
Haoqun Jiang a1979bd2a4 fix: should not include IE11 target in Vue 3 projects (#6437)
As Vue 3 does not, and likely will not support IE11.

https://github.com/vuejs/rfcs/pull/294
2021-04-25 14:09:00 +08:00
Haoqun Jiang e661a92375 feat!: upgrade to css-minimizer-webpack-plugin v2 (#6420) 2021-04-16 19:37:51 +08:00
Haoqun Jiang 0aa8a55189 feat!: always inject safari-nomodule-fix as an external script; drop --no-unsafe-inline flag (#6422) 2021-04-16 19:23:21 +08:00
Haoqun Jiang aad72cfa78 feat: only needs one bundle if all targets support es module (#6419) 2021-04-16 16:36:51 +08:00
Haoqun Jiang 8a3dfa4bca fixup! fix: disable realContentHash optimization in app target 2021-04-14 23:52:01 +08:00
Haoqun Jiang 448ab961b4 fix: disable realContentHash optimization in app target
It's messing with the html-webpack-plugin, telling it the wrong hash of
the legacy bundle, therefore making the modern mode fallback unusable.

(TODO: add a test later)
2021-04-14 23:41:19 +08:00
Haoqun Jiang cd78376675 feat!: turn on modern mode by default, and provide a --no-module option (#6416) 2021-04-14 14:57:28 +08:00
Haoqun Jiang dd217b2309 feat: support vue.config.mjs (#6405) 2021-04-13 19:26:36 +08:00
IU 0dc604cc43 feat(cli-service): provide jsconfig.json in no-ts template (#6285) 2021-04-09 23:02:22 +08:00
Binwei Fang 8654e8218d fix(cli-service): respect the existing 'devtool' (#6402)
Respect the existing 'devtool' when running dev server

Fixes #6398
2021-04-07 17:58:19 +08:00
叡山电车 de175d4f8e feat(cli-service): add inline loader support for html-webpack-plugin (#5997)
Close #2697
2021-04-05 21:37:51 +08:00
Haoqun Jiang 89af6c50c2 v5.0.0-alpha.8 2021-03-24 20:51:52 +08:00
Haoqun Jiang a5f822c5c8 chore: pre release sync 2021-03-24 20:51:30 +08:00
Haoqun Jiang fa46ed47b6 fix: check hoisted postcss version (#6372)
Also reverts #6358
2021-03-24 20:28:19 +08:00
Haoqun Jiang d64e7d3158 feat: when transpileDependencies is set to true, transpile all dependencies in node_modules (#6354) 2021-03-24 14:04:43 +08:00
Haoqun Jiang 54d5f78c34 feat: a defineConfig API from @vue/cli-service for better typing support in vue.config.js (#6355) 2021-03-24 13:56:32 +08:00
Haoqun Jiang 27b4263ed2 fix: work around npm6/postcss8 hoisting issue (#6358)
Closes #6342
2021-03-24 13:55:34 +08:00
Yazhe Wang 20355435e7 fix(build): demo-lib.html Vue 3 compatibility (#6366) 2021-03-22 16:07:18 +08:00
zoomdong 212d721f90 test: remove redundant await (#6362) 2021-03-19 11:35:26 +08:00
Haoqun Jiang df62363e36 chore!: bump copy-webpack-plugin to v8 (#6348) 2021-03-16 15:19:07 +08:00
Péter Gaál e960ae5caf fix: Do not display an error message on empty public folder (#6333)
copy-webpack-plugin will generate an error on missing file(s). 

For SPA, error occurs If 'public' folder only contains index.html or 'public' folder is empty.
2021-03-15 11:53:29 +08:00
Haoqun Jiang 985f2ff8d1 chore: remove preload plugin from deps for now
We are not going to add it back anytime soon. So removing it help
reduces the bundle size.

Though webpack 5 and html-webpack-plugin 5 support was added to
the plugin, there are still tests to be done for compatibility with
the new default configurations.
For example, we need to see how the new `defer` option affects the
result.
2021-03-12 14:54:24 +08:00
Haoqun Jiang e591bfa5eb v5.0.0-alpha.7 2021-03-11 16:27:23 +08:00
Haoqun Jiang 78245024e6 chore: pre release sync 2021-03-11 16:27:04 +08:00
Haoqun Jiang 83de3d8121 fix: use cssnano v5.0.0-rc.1, work around a npm 6 hoisting bug (#6343)
Fixes #6342
2021-03-11 15:40:29 +08:00
Haoqun Jiang 40e3de2c7c v5.0.0-alpha.6 2021-03-10 20:47:12 +08:00
Haoqun Jiang 6c383528a7 chore: pre release sync 2021-03-10 20:46:27 +08:00
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