Commit Graph

526 Commits

Author SHA1 Message Date
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 5b4df14278
It is most likely a duplicate of 145492b2d9

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
Kyle
7147aab85c refactor: Lighthouse PWA audit (#2071) 2018-08-05 23:30:06 -04:00
Evan You
128d9d9217 fix: avoid crashing when adding router via UI
close #2034
2018-08-03 11:50:09 -07:00
Evan You
c6ca93e0dd feat: support --bare flag when creating new projects
close #2030
2018-08-03 11:45:10 -07:00
Evan You
3894a4aba1 feat: respect devServer field in webpack config as well
close #2053
2018-08-03 11:06:26 -07:00
Evan You
495c25a019 fix: defensive html chunk sorting
close #1993
2018-07-31 11:41:05 -04:00
Evan You
686ec2591a feat: allow enfoce extract css in development
close #2002

BREAKING CHANGE: setting css.extract to true will now force extraction in development
2018-07-31 11:07:42 -04:00
Evan You
795393e60c v3.0.0-rc.10 2018-07-30 18:19:13 -04:00
Evan You
392096af79 chore: pre release sync 2018-07-30 18:19:07 -04:00