Commit Graph

3311 Commits

Author SHA1 Message Date
Haoqun Jiang 2d3116ed50 v5.0.0-beta.0 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 502f4a0c52 docs: add modern mode changes to the migration guide (#6438) 2021-04-25 16:43:58 +08:00
Jeffrey Yang 8f055f8347 fix(ui): fix publicPath documentation link (#6440) 2021-04-25 16:43:26 +08:00
Haoqun Jiang 5dd0340683 feat!: drop IE11 support in CLI UI (#6439) 2021-04-25 16:43:04 +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
PENG Rui 3f3d036cee feat(plugin-typescript): add all recommended tsconfig (#6428) 2021-04-24 20:32:19 +08:00
Haoqun Jiang 4473ca2e13 chore: some dependency version bumps (#6430)
Default Cypress version is now v7
2021-04-24 20:25:34 +08:00
Haoqun Jiang e661a92375 feat!: upgrade to css-minimizer-webpack-plugin v2 (#6420) 2021-04-16 19:37:51 +08:00
James George a16b017198 chore: rely on default arg parser behavior (#6413) 2021-04-16 19:30:44 +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 791fa288ad chore: should output meaningful error message for missing vue-jest dep
follow up of #6418
2021-04-16 17:16:07 +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 3b851a8dfe chore: add notes about upcoming Babel 8 esmodules change [skip ci] 2021-04-15 15:40:39 +08:00
Haoqun Jiang f782fa3966 test: use explicit targets in babel tests
Fixes the issue caused by https://github.com/babel/babel/pull/12989
2021-04-15 15:40:39 +08:00
Maksim Nedoshev 2f5ced38f0 fix: show fallback message for typescript jest preset if ts-jest is not installed (#6418)
Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>

closes #6383
2021-04-15 15:13:19 +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
Haoqun Jiang ae967f7698 chore: de-prioritize "Mocha + Chai" option as it requires webpack 4 for now (#6401) 2021-04-08 14:57:03 +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
Binwei Fang 7838c0de31 fix(mocha): workaround the SVGElement issue in Vue (#6400)
related to https://github.com/vuejs/vue-next/pull/2929
2021-04-06 14:43:23 +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 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 bb01585f8e chore: lockfile maintenance 2021-03-24 15:07:55 +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 803ab8e8ea chore: cli-service is referenced in setupDevProject, so let's add it to devDependencies 2021-03-18 18:05:52 +08:00
Haoqun Jiang df62363e36 chore!: bump copy-webpack-plugin to v8 (#6348) 2021-03-16 15:19:07 +08:00
Haoqun Jiang 45eb46205f refactor!: move vue-jest and ts-jest to peer dependencies (#6347)
vue-jest now requires several different peer deps for vue 2 and vue 3;
ts-jest now requires typescript as peer dep, which should be optional
for unit-jest plugin users because they might choose not to use
typescript.

Both are causing annoying peer dep warnings.

So it only makes sense to move them to the project level, to keep things
clean.
2021-03-16 15:18:31 +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 06eefe41ab chore: dependency maintenance 2021-03-12 14:52:10 +08:00
Haoqun Jiang e591bfa5eb v5.0.0-alpha.7 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 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 59b6eb93d7 chore!: update vue-jest to v4.x (#6335) 2021-03-10 20:26:40 +08:00
Haoqun Jiang 7fa6837288 fix: some small refinements in the ui codebase (#6315) 2021-03-10 16:18:51 +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