Commit Graph

785 Commits

Author SHA1 Message Date
Haoqun Jiang 0603f1eed9 chore: pre release sync 2019-10-16 19:18:38 +08:00
Haoqun Jiang 4de59d06ac fix(types): update css options interface to reflect v4 changes 2019-10-16 17:52:38 +08:00
Haoqun Jiang 5cce80c2f7 v4.0.0-rc.8 2019-10-11 16:11:02 +08:00
Haoqun Jiang 3fcff0268a chore: pre release sync 2019-10-11 16:08:49 +08:00
Haoqun Jiang 08d7761099 chore!: upgrade terser-webpack-plugin to 2.x (#4676)
BREAKING CHANGE:
The only real breaking change is https://github.com/webpack-contrib/terser-webpack-plugin/issues/129,
which is not likely to affect normal users.

The rest are default option values changes, which are already covered in
the default provided `terserOptions` of Vue CLI.

Note that here we choose to disable `extractComments` by default, as I
don't see enough data showing such license comments taking too much
space. The extra LICENSE file may also be confusing to some users.
2019-10-11 14:51:20 +08:00
Haoqun Jiang 01e36f30cf refactor!: use DefinePlugin (again) instead of EnvironmentPlugin (#4673)
* Revert "refactor: use EnvironmentPlugin instead of DefinePlugin"

This reverts commit 7117a096df.

* refactor: use the exported DefinePlugin
2019-10-11 13:14:24 +08:00
Haoqun Jiang e5196f581a fix: fix redundant log messages from webpack-dev-server (#4666)
By replacing the `quiet` option with `logLevel: 'silent'`.

Fixes #4599
2019-10-10 09:59:16 +08:00
Haoqun Jiang f5135d41a5 feat: make the minimizer config available in all modes (#4641)
As long as the `minimize` option is set to false (which is default in
production mode), the code won't be minimized. So the mode doesn't
matter when it comes to the `minimizer` config.

By exposing this config, users can simplify their custom config, by
removing the `process.env.NODE_ENV === 'production'` guard around their
custom minimizer configuration.
2019-10-07 00:14:28 +08:00
Haoqun Jiang 3b016e7901 feat: add webdriver log files to gitignore (#4644) 2019-10-04 23:28:27 +08:00
Haoqun Jiang 58592fed4e v4.0.0-rc.7 2019-10-01 23:35:39 +08:00
Haoqun Jiang 6dcc62740f chore: pre release sync 2019-10-01 23:34:00 +08:00
Haoqun Jiang e63bf6122b fix: avoid accidentally overriding sass config with scss configs (#4637) 2019-10-01 23:30:15 +08:00
Haoqun Jiang b823ca84d3 v4.0.0-rc.6 2019-09-30 20:27:57 +08:00
Haoqun Jiang 45e1e983ab chore: pre release sync 2019-09-30 20:20:35 +08:00
Haoqun Jiang d49f784eb0 v4.0.0-rc.5 2019-09-30 18:39:52 +08:00
Haoqun Jiang 29d070ca75 chore: pre release sync 2019-09-30 18:35:59 +08:00
Haoqun Jiang ebdb142a4b fix: fix sassOptions merging for scss syntax in sass-loader v8 (#4631)
fixes #4630
2019-09-30 14:02:48 +08:00
Haoqun Jiang 21257378d7 v4.0.0-rc.4 2019-09-25 12:31:11 +08:00
Haoqun Jiang 4f009cdb60 chore: pre release sync 2019-09-25 12:30:25 +08:00
Haoqun Jiang cb740ae268 fix: correctly ignore html templates in copy-webpack-plugin (#4613)
Fixes #3597.
Fixes #4299.
2019-09-25 00:19:25 +08:00
Haoqun Jiang 863d6bbfbf v4.0.0-rc.3 2019-09-10 00:05:39 +08:00
Haoqun Jiang 83d459b34c chore: pre release sync 2019-09-09 23:51:30 +08:00
Haoqun Jiang 59d6a7c856 docs: rephrase the upgrade notice 2019-09-09 23:01:39 +08:00
Haoqun Jiang 8cc9ea5f81 fix: pause & resume spinners elegantly 2019-09-09 17:23:47 +08:00
Haoqun Jiang af17a9b49f feat: support sass-loader v8 2019-09-09 17:23:21 +08:00
Haoqun Jiang d37d68afba v4.0.0-rc.2 2019-09-08 11:52:59 +08:00
Haoqun Jiang 0c5d740202 chore: pre release sync 2019-09-08 11:52:11 +08:00
Haoqun Jiang 522a0f8d03 test: set a really long timeout for HMR tests 2019-09-07 13:07:15 +08:00
Haoqun Jiang 72ba7505af fix: should not proxy sockjs endpoint (#4550)
fixes #4504
thanks to https://github.com/facebook/create-react-app/pull/7444
2019-09-07 13:02:34 +08:00
Haoqun Jiang 4aba6e1573 test: catch timeout errors for HMR tests in AppVeyor 2019-09-07 00:14:24 +08:00
Haoqun Jiang b2848aeeaf test: replace waitForFunction with waitForXPath 2019-09-06 23:21:52 +08:00
Haoqun Jiang df0f813703 v4.0.0-rc.1 2019-09-04 16:19:42 +08:00
Haoqun Jiang 07b207e527 chore: pre release sync 2019-09-04 16:19:01 +08:00
Haoqun Jiang 2622f8d3f7 test: use page.waitForFunction for HMR testing 2019-09-04 15:34:57 +08:00
Haoqun Jiang 91024a7843 v4.0.0-rc.0 2019-08-21 17:48:28 +08:00
Haoqun Jiang 5bbf0b40d3 chore: pre release sync 2019-08-21 17:42:56 +08:00
Haoqun Jiang 9baab9dc6b chore: update @vue/component-compiler-utils to 3.0 2019-08-21 17:31:23 +08:00
Haoqun Jiang 55e1c3ca56 feat: bump default less-loader version (#4468)
Resolves #4454
2019-08-21 15:52:00 +08:00
Thorsten Lünborg fba2ad0606 feat: --skip-plugins (#4448)
Allow skipping of plugins  from command line

close #4262
close #3830
2019-08-21 15:38:01 +08:00
Roman Pavlov 86f4f5fceb feat(build): add --inline-vue flag to optionally disable externalization of Vue (#4261)
Resolves #4055.
2019-08-19 21:05:46 +08:00
Haoqun Jiang 497fd5aa1f test: increase waiting time before checking hot updates
As the performance of AppVeyor build environment is quite poor.
2019-08-19 20:05:47 +08:00
Haoqun Jiang 348e36eedb fix: merge custom externals config correctly, supports array (#4429)
closes #4413
2019-08-15 11:48:48 +02:00
Daan Roet 428d1720fe feat: upgrade webpack (#4253) 2019-08-12 21:58:58 +08:00
Haoqun Jiang f9a9880d93 v4.0.0-beta.3 2019-08-08 11:10:03 +08:00
Haoqun Jiang 14bd985cc1 chore: pre release sync 2019-08-08 11:09:15 +08:00
Haoqun Jiang e9fd9a716c feat!: deprecate css.modules in favor of css.requireModuleExtension (#4387)
closes #4376

Since css-loader v3, custom CSS Modules configurations are under the
`modules` field. So when a user customizes these configurations, the `modules`
feature is automatically enabled for all css files.
So we must require the user's explicit consensus or disagreement on whether
these rules apply to all CSS files or not.
2019-08-02 21:14:39 +08:00
Haoqun Jiang 930b4596b1 feat: allow configuring scss options separately from sass (#4386)
closes #4116
2019-08-02 19:45:12 +08:00
Haoqun Jiang c76d2e691d style: add a "no-shadow" linter rule (#4385)
It has become a common source of mistakes.
For example, during PR #4363 I've referred to the wrong `options`
several times due to the variable shadowing.
2019-08-02 18:24:52 +08:00
Haoqun Jiang 2e3fa929fe chore!: remove the already-deprecated baseUrl option (#4388) 2019-08-02 17:12:13 +08:00
Haoqun Jiang 7a399ef7e2 v4.0.0-beta.2 2019-07-30 00:22:38 +08:00