Haoqun Jiang
|
0909bc8688
|
fix: revert file name hashing in dev mode
closes #2492
The change was intended to mitigate the problem that Safari keeps caching
dev bundles.
But it caused several unintended bugs:
1. [Hashes in file names with HMR enabled might cause memory leaks](https://github.com/webpack/webpack-dev-server/issues/377#issuecomment-241258405)
2. Moving the hash to file query also breaks many webpack loaders:
1. [mocha-webpack](https://github.com/vuejs/vue-cli/commit/f68358307861614ff3fe5f20af19110cbf39ebe7)
2. [django-webpack-loader](https://github.com/vuejs/vue-cli/issues/2492))
So till we find a better way to solve this issue, hashes in dev bundles
should be removed.
|
2018-09-12 12:49:54 +08:00 |
|
Haoqun Jiang
|
69cec80238
|
fix: hash module ids in anonymous chunks, avoid ENAMETOOLONG error
closes #2490
|
2018-09-12 11:57:28 +08:00 |
|
Haoqun Jiang
|
cfc08086d8
|
docs: merge branch 'docs' into dev [ci skip]
|
2018-09-11 22:52:16 +08:00 |
|
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 |
|
Alexander Sokolov
|
1392ba562b
|
docs: [RU] Translation update (#2401) [ci skip]
* docs: [RU] build-targets.md fix
* docs: [RU] deployment.md added new section
* Update deployment.md
* docs: (ru) deployment.md fix
* docs: [RU] html-and-static-assets.md правка
* docs: image translated into russian
* added ai assets for en and ru
* docs: (ru) ui-api.md changed to localized image
|
2018-09-09 01:04:39 +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 |
|