Commit Graph

410 Commits

Author SHA1 Message Date
Haoqun Jiang
6f085d36a4 fix: fix dev mode compatibility with workers (#4034)
fixes #3539

(cherry picked from commit d81d57beec)
2019-05-25 22:08:36 +08:00
Francisco
204e1fcf6b chore(dev-server): set clientLogLevel option to silent (#4018)
The `none` option is deprecated and will be removed in the next major https://github.com/webpack/webpack-dev-server/pull/1901/files

(cherry picked from commit edcce6a311)
2019-05-25 22:07:03 +08:00
achretien
c50969fcbe feat: enable hmr for 'mini-css-extract-plugin' in dev (#4011)
(cherry picked from commit 59b106ad04)
2019-05-25 20:45:14 +08:00
Haoqun Jiang
7ce7a3ae50 chore: remove extraneous log statement
(cherry picked from commit 341286b708)
2019-05-25 20:40:42 +08:00
Haoqun Jiang
a3e0858105 feat: add .version field and assertVersion helper to plugin api (#3861)
partially addresses #2336 (GeneratorAPI TBD)
2019-04-28 13:45:00 +08:00
Haoqun Jiang
a351cbadb8 feat: allow parallel option to be an integer (#3864)
closes #3850
2019-04-27 20:11:16 +08:00
Haoqun Jiang
b082da83e5 fix: process should be polyfilled rather than mocked (#3878)
To be in line with webpack's default configuration and avoid confusions:
https://webpack.js.org/configuration/node/
2019-04-27 20:03:50 +08:00
Haoqun Jiang
4f74b272d1 fix: should invalidate cache when lockfiles have updated (#3865)
closes #3635
2019-04-27 20:02:07 +08:00
Guillaume Chau
89e0697cc9 feat: syntax highlight inspect output (#3844) 2019-04-18 17:03:11 +02:00
Haoqun Jiang
92c69e1602 fix: should pass cwd as argument 2019-04-11 17:39:31 +08:00
Haoqun Jiang
a1aef86578 fix: check for project pnpm only 2019-04-11 17:34:06 +08:00
Haoqun Jiang
94f3ca0e91 fix: better pnpm check
1. separate project pnpm check and global pnpm check
2. rename hasPnpm to hasPnpm3OrLater
2019-04-11 16:38:49 +08:00
Haoqun Jiang
f1807fd304 Merge pull request #3743 from vuejs/next-minor
3.6
2019-04-11 09:26:12 +08:00
Nick
ff62895c99 feat: add --filename option to specify the output (lib) file name (#3703) 2019-04-09 20:40:19 +08:00
dailyvuejs
b170e15f39 refactor: remove unused placeAtRootIfRelative parameter (#2405) 2019-04-09 18:26:52 +08:00
Guillaume Chau
3479f21f12 refactor(plugin): invoke is now done in child process (#3778) 2019-04-08 21:08:07 +02:00
robertkruis
a02ef3988f feat: support PNPM as a package manager (#1531)
Enables vue-cli to use PNPM (https://pnpm.js.org/) as package manager
2019-04-09 00:43:47 +08:00
Haoqun Jiang
2e20b7aef4 feat: bundle currentScript polyfill by default if library needs IE support (#3760) 2019-04-08 19:48:19 +08:00
Thorsten Lünborg
a6d31662cf feat: add 3rd option to lintOnSave to support 'default' behaviour (fix #3552) (#3572) 2019-04-01 19:40:18 +08:00
Haoqun Jiang
9e317d20d7 chore: merge branch 'dev' into next-minor 2019-04-01 18:08:59 +08:00
Haoqun Jiang
30f2aad0a7 feat: support multi-main entry in pages config (#3595) 2019-04-01 14:18:35 +08:00
Thorsten Lünborg
adac48db0d fix: properly load non-js config files in genCacheConfig (#3632)
close #3631
2019-03-27 23:08:54 +08:00
Haoqun Jiang
10296ff6a7 fix: set the path of safari-no-module-fix.js correctly (#3647)
fixes #3033
2019-03-27 23:06:56 +08:00
Haoqun Jiang
1d14d4d246 feat: support pug as html template (#3663)
closes #3646
2019-03-27 18:02:43 +08:00
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