Haoqun Jiang
dd377731e5
fix: should resolve to full path when setting default entryFiles
...
closes #3616
closes #3618
2019-03-12 15:53:34 +08:00
Thorsten Lünborg
bb4f349c87
fix: proxy should warn when array is passed. ( #3525 )
...
close #3524
2019-03-06 15:36:49 +08:00
Haoqun Jiang
93f57ac4a9
fix: use an environment variable to determine the entry files to inject default polyfills ( #3565 )
...
The old logic is not reliable due to the presence of thread-loader
closes #2983
2019-03-06 00:21:46 +08:00
Thorsten Lünborg
6f93bfeee0
fix(cli-service): inspect --rules ( close #3334 ) ( #3378 )
2019-03-05 22:28:28 +08:00
Haoqun Jiang
bd57f15a15
feat: support environment variable expansion ( #3534 )
2019-02-28 15:04:46 +08:00
Haoqun Jiang
f5b174ff79
feat: allow vue.config.js to return a function ( #3499 )
...
closes #3213
2019-02-28 15:03:25 +08:00
Jonas
fec38f5541
fix(cli-service): catch exception if "copy to clipboard" fails (issue #3476 ) ( #3503 )
...
close #3476
2019-02-26 23:53:13 +08:00
Haoqun Jiang
14b2c6e0b1
fix: fix modern mode in monorepo by resolving in the package scope
...
fixes https://github.com/vuejs/vue-cli/pull/3477#issuecomment-466926461
2019-02-26 01:31:33 +08:00
Evan You
e0983f4054
fix: run modern build in separate process ( #3477 )
...
fix #3438 , #3474
2019-02-20 14:04:47 +08:00
JK
ea5d9f763e
feat(cli-service): add history api fallback for multi-page mode ( #3181 )
2019-02-19 17:05:07 +08:00
Haoqun Jiang
225b558935
refactor: use dotenv to parse env file and add a link to its docs ( #3462 )
2019-02-18 14:44:12 +08:00
Haoqun Jiang
a2bc927ac8
fix: fix hash difference on different terminal sessions
...
This reverts commit 047872c25e .
Fixes #3416 .
2019-02-05 01:50:14 +08:00
Haoqun Jiang
486a921e9f
fix: fix reference of friendly-errors-webpack-plugin in config
2019-01-29 19:17:51 +08:00
Haoqun Jiang
9c1e797ac6
feat: support dart-sass as default sass implementation ( #3321 )
2019-01-28 18:51:55 +08:00
houfeng
9029ad1955
fix: do not add link tag to demo page when css extract is false ( #3351 )
2019-01-28 18:50:53 +08:00
WilsonLiu95
ab13dfef80
fix: genCacheConfig return different result because linebreak ( #3372 )
2019-01-28 11:23:19 +08:00
Haoqun Jiang
047872c25e
fix: take all env variables into account in genCacheConfig
...
fixes #3275
2019-01-25 22:41:37 +08:00
Haoqun Jiang
702a2c9fd0
fix: should respect root parallel option in terser plugin
2019-01-23 22:29:33 +08:00
Haoqun Jiang
27ffd28e7d
fix: copy publicPath option to baseUrl, fix plugin compatibility
2019-01-13 01:27:03 +08:00
KuangPF
67cff9542e
feat: support use -h show detailed usage of command
2019-01-13 01:17:06 +08:00
Haoqun Jiang
15537577f9
fix: use the correct size unit (KiB)
...
fixes #3283
2019-01-12 00:30:45 +08:00
金振祖
d5b5e3bfde
fix: fix loaderOptions.postcss detection ( #3201 )
...
fixes #3194
2019-01-08 11:50:05 +08:00
Haoqun Jiang
e7af0d8fa3
feat: deprecate confusing baseUrl option, use publicPath instead. ( #3143 )
...
* feat: deprecate confusing `baseUrl` option, use `publicPath` instead.
* fix: do not touch CHANGELOG.md
* docs: links referring baseUrl now changed to publicPath
2019-01-07 21:20:05 +08:00
Thorsten Lünborg
8b4471e78c
fix(cli-service): fix copy plugin's ignore pattern ( fix #3119 ) ( #3130 )
...
* fix(cli-service): don't skip copiying of files named "index.html"
when nested in a subfolder in /public
close #3119
* refactor: remove the unused '/index.html' pattern
2019-01-07 16:44:04 +08:00
Haoqun Jiang
a7fa19140d
fix: fix a regression that pages doesn't allow entry-only string format
...
fixes #3233
2019-01-03 11:43:34 +08:00
JK
300efa94bc
fix(cli-service): drop webpack NoEmitOnErrorsPlugin usage ( #3210 )
2018-12-30 17:44:48 +08:00
Haoqun Jiang
2ac64d6de1
fix: .wasm extension should have lower priority when resolving modules
...
in line with https://github.com/webpack/webpack/pull/8448
fixes #3023
2018-12-12 21:32:41 +08:00
Haoqun Jiang
554670be64
fix: better error message for missing key entry in pages config
...
fixes #2816
2018-12-02 17:24:07 +08:00
Andréas Hanss
2db8d1877b
feat: add support for loading WebAssembly and ES Modules ( #2819 )
2018-11-26 12:45:12 +08:00
JK
6d35461707
fix(cli-service): do not display absolute baseUrl ( #2900 )
2018-11-12 14:45:10 +08:00
Haoqun Jiang
5d49d57966
fix: assetsDir can be an empty string
...
fixes #2511
2018-11-08 14:45:30 +08:00
Haoqun Jiang
c138c7d544
fix: add acorn-walk as dependency instead of relying on acorn's internal folder structure
...
fixes #2848
2018-10-31 10:43:18 +08:00
katebe
1e200c5726
feat: build library with specified formats ( #2583 )
2018-10-30 23:43:31 +08:00
Haoqun Jiang
38efc032e5
feat: add --no-unsafe-inline flag for modern mode ( #2741 )
...
closes #2570
2018-10-29 19:14:11 +08:00
岩
7096bacab3
fix(cli-service): fix path RegEx error ( #2830 )
2018-10-29 19:06:28 +08:00
Thorsten Lünborg
8bf7dfdd12
fix(wc): don't overwrite user-defined externals ( #2831 )
2018-10-29 19:04:37 +08:00
Bogdan Luca
9a64708ed3
fix(serve): also detect kubernetes containers ( #2795 )
2018-10-27 12:43:35 +08:00
Haoqun Jiang
6708063add
fix: fix customHtmlOptions overriding
2018-10-22 01:19:59 +08:00
Haoqun Jiang
5786e273b2
fix: should not thrown on Windows when proxy target is an object
...
closes #2478
2018-10-22 01:17:20 +08:00
Haoqun Jiang
e929d48716
fix: fix cypress error caused by object rest syntax
2018-10-22 01:12:47 +08:00
Haoqun Jiang
4cabf5e8c7
feat: allow user to customize html-webpack-plugin option in multi-page mode
...
closes #2544
2018-10-21 18:53:11 +08:00
Haoqun Jiang
0e5cf4a4eb
chore: switch from uglifyjs-webpack-plugin to terser-webpack-plugin ( #2742 )
...
closes #2245
2018-10-20 19:31:59 +08:00
Haoqun Jiang
7ea080b9d1
fix: should not throw when a plugin listed in optionalDependencies is not installed
...
This bug is due to `normalize-package-data` (required by `read-pkg`)
adding `optionalDependencies` to `dependencies`.
2018-10-13 00:25:42 +08:00
Haoqun Jiang
ab0503b19f
fix: fix test issues for cypress GUI
2018-10-07 18:05:48 +08:00
mattwmj
20dd09d0a8
fix: build --target lib should merge externals in vue.config.js ( #2653 )
...
fixes #2646
2018-09-30 18:43:32 +08:00
Matthew Pietz
09305db48f
chore: add module concatenation hint ( #2503 )
...
Allow Webpack to process this file as an ES Module, which allows
concatenating using ModuleConcatenationPlugin, resulting in a slightly
smaller bundle and removes the overhead of a runtime `require()`.
The export default null will get optimized away during tree-shaking.
2018-09-15 01:33:46 +08:00
Haoqun Jiang
c46d9cf1d2
fix: typo in error message
...
closes #2517
2018-09-14 17:13:53 +08:00
Haoqun Jiang
b559005ce6
fix: revert postcss-loader order change
...
The loader used for minification should come first in the rules array
(i.e. execute last, as webpack loaders are executed in reverse order).
2018-09-13 00:10:33 +08:00
Haoqun Jiang
1682ff7c17
fix: fix ESDIR errors when outputDir contains dots
...
closes #2414
When `toType` is not specified, copy-webpack-plugin will infer it from
the value of `to`. So if it contains one or more dots, it would be
treated as a file with extension.
2018-09-12 13:08:49 +08:00
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](f683583078 )
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