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
|
1973e2de2c
|
fix: fix extracted css publicPath for target --lib
close #2260
|
2018-08-17 10:04:17 -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
|
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
|
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
|
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
|
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
|
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
|
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 |
|
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
|
352d3bbcbe
|
fix: ensure entry chunk is placed last for CSS overrides
|
2018-07-30 16:31:16 -04:00 |
|
Evan You
|
92473e9f21
|
refactor: extract asset path logic
|
2018-07-30 15:37:09 -04:00 |
|
Vicey Wang
|
ce7b394560
|
feat: add filenameHashing option (#1980)
|
2018-07-30 15:30:30 -04:00 |
|
Evan You
|
cf6290f778
|
fix(serve): use explicit sockjs url unless inside a container
close #1974
|
2018-07-28 18:31:27 -04:00 |
|
Guillaume Chau
|
1c5fdd0184
|
feat: hasPlugin matches router or vuex
|
2018-07-28 01:32:49 +02:00 |
|
Rodrigo Pedra Brum
|
ae1817a769
|
fix: typo (#1965)
Fixes typo in console.log output when the build is the first build
(direcotry => directory)
|
2018-07-27 20:12:43 +02:00 |
|
Evan You
|
ed0315a5d4
|
feat(serve): detect and add tip when running inside container
|
2018-07-27 11:21:45 -04:00 |
|
Evan You
|
da38ed4a27
|
fix: fix hmr in docker + support devServer.public with protocol
|
2018-07-27 10:57:05 -04:00 |
|
花裤衩
|
4b5a63441b
|
fix: avoid hash collisions (#1959)
|
2018-07-27 07:07:11 -05:00 |
|
Evan You
|
b9ecb90476
|
feat: support specifying index output path via indexPath option
|
2018-07-26 22:14:49 -04:00 |
|
Evan You
|
e7602abf46
|
fix: fix absolute path for outputDir option
|
2018-07-26 22:13:43 -04:00 |
|
Evan You
|
ee82c3e53e
|
refactor: only place css at root when using relative baseUrl
|
2018-07-26 17:15:38 -04:00 |
|
Evan You
|
625d541715
|
refactor: improve chunk name aesthetics
|
2018-07-26 17:12:36 -04:00 |
|
Evan You
|
05079e30a0
|
chore: improve build message
|
2018-07-26 16:55:56 -04:00 |
|
Evan You
|
db2636151c
|
fix(build): ensure consistent chunk id for async chunks
close #1916
|
2018-07-26 16:40:31 -04:00 |
|
Evan You
|
80376470df
|
chore: add warning when using --modern with non app build
ref #1940
|
2018-07-26 16:05:37 -04:00 |
|
Hiển Đào Vinh
|
6c966f46bb
|
feat(build): set output target before configureWebpack, close #1941 (#1943)
|
2018-07-25 11:51:54 -05:00 |
|
Evan You
|
ccc90c9800
|
feat(serve): allow specifying public network url via command line
|
2018-07-24 11:01:39 -04:00 |
|