Commit Graph

534 Commits

Author SHA1 Message Date
Haoqun Jiang 33726981fa v3.0.2 2018-09-11 22:45:32 +08:00
Haoqun Jiang efde56173e chore: pre release sync 2018-09-11 22:42:16 +08:00
Evan You 7d1818d473 ci: fix css rules test 2018-09-11 10:33:36 -04:00
Evan You a2d109508f fix: adjust postcss-loader order when using inline minification 2018-09-11 10:16:58 -04:00
悔惜晟 2f19904183 fix: fix HMR hostname when devServe.host is set (#2230) 2018-09-10 21:24:35 +08:00
Haoqun Jiang 52dbdf88ff chore: move the hash part in filename to query parameters (dev mode)
Development builts with HMR enabled have a bunch of problems with hashes
in filenames (e.g., https://github.com/webpack/webpack-dev-server/issues/377#issuecomment-241258405).

But to mitigate the Safari caching issue, hashes cannot be omitted.
So move them to query parameters to see if this works.
2018-09-10 19:54:44 +08:00
Haoqun Jiang d0320eb8c2 fix: fix cssnanoOptions format
closes #2395
2018-09-09 23:51:45 +08:00
Jascha Lülsdorf c73d9673dc chore: fix typo (#2321) [ci skip] 2018-09-05 14:28:38 +08:00
Haoqun Jiang c9cc225866 fix: revert default symlinks setting (#2409)
Currently in Vue CLI we set the default `symlinks` config to `false`.
This setting is counterintuitive, and inconsistent with webpack's default
configuration, per https://webpack.js.org/configuration/resolve/#resolve-symlinks

The change of default `symlinks` value is introduced by https://github.com/vuejs/vue-cli/commit/5b4df1427885e46666d780ba64e759c930c534db
It is most likely a duplicate of https://github.com/vuejs/vue-cli/commit/145492b2d93f3afa1049efbf782899a3619fb457

Since several third-party npm clients uses symlinks to speed up installation
(e.g. cnpm, pnpm...), that change breaks webpack HMR for their users.
See #1559, #2195, #2284

This commit also fixes #1609
2018-09-05 14:24:22 +08:00
Haoqun Jiang 33dad3906f fix: add hash to filename in development mode (#2403)
to circumvent a Safari caching issue

closes #2391, #1132
2018-09-04 17:44:37 +08:00
Haoqun Jiang 3933187f73 fix: revert named-chunks nameResolver algorithm (#2324)
* Revert "fix: avoid hash collisions (#1959)"

This reverts commit 4b5a63441b.

* Revert "refactor: improve chunk name aesthetics"

This reverts commit 625d541715.
2018-09-04 16:51:48 +08:00
Andy Parsons f9652a1d4f fix(serve): respect devServer.openPage field (#2309) 2018-09-04 16:17:54 +08:00
Haoqun Jiang 78c6877294 fix: fix hmr compatibility with worker-loader (#2286)
closes #2276
2018-08-20 11:39:07 -04:00
Evan You 5999e09945 chore: update package readme docs links [ci skip] 2018-08-18 11:45:02 -04:00
Evan You 1973e2de2c fix: fix extracted css publicPath for target --lib
close #2260
2018-08-17 10:04:17 -04:00
Evan You b1f3a4caa7 fix(cli-service): treat specific flags as boolean only
close #2258
2018-08-17 09:41:53 -04:00
Evan You 2669008ea2 v3.0.1 2018-08-16 12:10:33 -04:00
Evan You d5fc227dc7 chore: pre release sync 2018-08-16 12:10:26 -04:00
Evan You 1f0c8e935e fix: work around url-loader 1.1.0 regression
close #2242
2018-08-16 10:15:47 -04:00
Evan You a2c767efc4 fix: minify embedded CSS with extract: false
close #2214
2018-08-15 18:34:55 -04:00
Evan You 1e7fa2cf46 fix: fix css output location for relative baseUrl + more details in docs 2018-08-15 18:34:26 -04:00
Evan You 478317ba0e test: avoid throwing in afterAll hooks 2018-08-14 11:10:02 -04:00
Evan You 6010eb22ff test: fix tests for preserving ruleNames 2018-08-14 10:34:52 -04:00
Evan You 82ded1f648 ci: revert unintended change 2018-08-14 10:25:58 -04:00
Evan You 2257034141 fix: preserve rule names when configureWebpack is present
close #2206
2018-08-14 10:05:25 -04:00
Haoqun Jiang 69a4fb3ad7 fix: inspect --plugins should log plugin names from webpack-merge (#2201) 2018-08-14 08:59:44 -04:00
Barthélémy Ledoux d14d4e693c fix: allow relative baseUrl other than ./ (#2168) 2018-08-13 12:14:18 -04:00
Evan You 86e3cf2c6f ci: fix cors spec 2018-08-10 11:27:02 -04:00
Evan You 394d534638 v3.0.0 2018-08-10 11:01:14 -04:00
Evan You b221b48ca9 chore: pre release sync 2018-08-10 11:01:03 -04:00
Evan You 7ec466dd6a chore: fix typo [ci skip] 2018-08-10 09:32:05 -04:00
Evan You 2953e2214a refactor: validate webpack config in serve as well + warn publicPath config error 2018-08-09 23:26:29 -04:00
Evan You ba75e29243 fix: avoid adding githooks if created as sub dir in existing git repo
close #2131
2018-08-09 11:47:30 -04:00
Evan You e075ccff36 v3.0.0-rc.12 2018-08-09 02:23:23 -04:00
Evan You 1d8bd6b217 chore: pre release sync 2018-08-09 02:23:17 -04:00
Evan You 55043d310e feat: support Subresource Integrity via integrity option 2018-08-09 01:22:46 -04:00
Evan You 7b39bed188 refactor: use better modern mode and cors implementation
BREAKING CHANGE: The `corsUseCredentials` option has been replaced by the new
`crossorigin` option.
2018-08-08 23:31:13 -04:00
Evan You 3c9973a61f ci: bump timeout 2018-08-08 11:20:44 -04:00
Evan You fff62f7a73 refactor: enable dev config in more cases 2018-08-08 10:18:48 -04:00
Evan You 327d041ea7 fix: avoid os.cpus() error in certain envs
close #2110
2018-08-08 09:55:47 -04:00
Evan You 9e4d62cc80 fix: ensure consistent build hash with different project locations 2018-08-07 17:36:11 -04:00
Evan You 67630d2f6c v3.0.0-rc.11 2018-08-07 11:20:43 -04:00
Evan You c4436f99ee chore: pre release sync 2018-08-07 11:20:32 -04:00
Evan You d494350fdb chore: fix package homepage links [ci skip] 2018-08-07 11:17:23 -04:00
Evan You 87cc98ac1e chore: check file existence first in MovePlugin 2018-08-06 22:19:10 -04:00
Evan You ec508c7004 ci: fix index.html moving 2018-08-06 22:17:31 -04:00
Evan You fd839b5bbe fix: make vue-template-compiler a peer dep to allow version pinning
close #2086
2018-08-06 22:13:32 -04:00
Evan You 4220835fa1 fix(css): fix importLoaders which only applies to plain CSS imports
close #2055
2018-08-06 21:51:47 -04:00
Evan You 68aaa8fd7d fix(pwa): workaround index sw manifest path when using relative indexPath
close #2007
2018-08-06 21:30:55 -04:00
Wu Wenbin a23dd19389 docs: fix typo (#2076) [ci skip] 2018-08-05 23:30:31 -04:00