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
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
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
Jascha Lülsdorf
c73d9673dc
chore: fix typo ( #2321 ) [ci skip]
2018-09-05 14:28:38 +08: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
Barthélémy Ledoux
d14d4e693c
fix: allow relative baseUrl other than ./ ( #2168 )
2018-08-13 12:14:18 -04:00
Vicey Wang
ce7b394560
feat: add filenameHashing option ( #1980 )
2018-07-30 15:30:30 -04:00
Evan You
e7602abf46
fix: fix absolute path for outputDir option
2018-07-26 22:13:43 -04:00
Guillaume Chau
08352811e0
feat: local service plugins, closes #1841
2018-07-13 17:39:07 +02:00
Guillaume Chau
d212dcd63e
feat: package.json: vuePlugins.resolveFrom option, closes #1815
2018-07-13 17:04:11 +02:00
Guillaume Chau
96778b2caf
chore: update main deps ( #1772 )
...
* chore: update main deps
* chore: update ts types
* chore: update generator deps versions
* fix: ts-jest
* chore: upgrade ts-jest again
* fix: re-generated yarn.lock
* chore: more upgrades
* fix: jest test matching on Windows
2018-07-08 13:56:10 +02:00
Michael Wolthers Nielsen
1b1a89fd43
fix: Fixed a bug that caused mode to be ignored if run together with watch ( #1700 )
...
* fix: Fixed a bug that caused —mode to be ignored if run together with —watch
* fix: Moved the paren that caused the expression to evaluate wrongly
2018-06-29 00:35:30 +02:00
Evan You
55e2c3eeea
test: fix NODE_ENV for tests
2018-06-10 14:42:16 -04:00
Evan You
60de7c460c
fix: fix custom mode NODE_ENV regression
...
close #1528
2018-06-09 15:05:16 -04:00
Craig Morris
7c1ef24460
fix(env): preserve existing env vars so load in reverse order. ( #1503 )
2018-06-07 10:56:30 -04:00
Evan You
85e6e5ea6c
fix: pwa plugin should be ignored when target is not app
...
close #1497
2018-06-07 10:12:22 -04:00
Evan You
7d06f09425
feat: allow configuring css-loader options via css.loaderOptions.css
...
close #1484
BREAKING CHANGE: css.localIdentName has been deprecated. Use
css.loaderOptions.css.localIdentName instead.
2018-06-07 10:10:33 -04:00
Evan You
5064cf5999
test: do not assert publicPath mutation during tests
2018-06-06 14:40:26 -04:00
Evan You
1732007ce8
feat: bail when user directly mutate output.publicPath
2018-06-06 14:13:05 -04:00
Evan You
62649965eb
test: fix baseUrl normalization
2018-06-05 00:30:04 -04:00
Evan You
dc382111d9
feat: allow using relative baseUrl
2018-06-05 00:22:20 -04:00
ziga
3193b0dc3b
fix(build): default to development mode in build --watch ( #1430 )
2018-06-01 13:41:35 -04:00
Guillaume Chau
a3b2be8c15
fix(ui): fix beta.12 feedback ( #1386 )
...
* fix(ui): npm/yarn installing only dependencies
* fix(ui): add all dependencies to package.json
* fix(Service): give priority to devDependencies plugins
* feat(ui): connection status banner
* fix(ui): don't display disconnected banner for initial app load
* fix(ui): default value for prompt type=checkbox
* feat: builtin prompts default values
* fix(ui): circular dep
2018-05-29 09:37:28 -04:00
Evan You
d595adacf4
refactor: adjust mode loading order
...
BREAKING CHANGE: PluginAPI.setMode() has been removed. Instead, for a plugin to
sepcify the default mode for a registered command, the plugins should expose
`module.exports.defaultModes` in the form of `{ [commandName]: mode }`.
close #959
2018-05-01 17:14:33 -04:00
Evan You
a88fa5f75d
refactor: fix tests (service.run should return Promise)
2018-05-01 14:00:26 -04:00
Evan You
69a6b0bbfe
refactor(cli-serivce): use async functions when running service commands
2018-04-30 19:02:42 -04:00
Jovino Xu
abb82ab25e
fix(cli-service): should not add a leading slash to baseUrl when it is absolute ( #1172 )
...
fix #1084
2018-04-26 16:43:10 -04:00
Evan You
edff5b49fe
refactor: extract plugin resolution into shared-utils
2018-03-04 13:46:10 -05:00
Evan You
89982dff04
fix: fix baseUrl normalization ( close #900 )
2018-03-02 21:40:48 -05:00
Evan You
e4ff22a4de
test: fix vue.config.js test for appveyor
2018-02-28 18:51:36 -05:00
Evan You
e6585633d4
test: fix vue.config.js tests
2018-02-28 18:31:25 -05:00
Evan You
bf9a30437a
test: only load vue.config.js if it exists
2018-02-28 18:19:50 -05:00
Evan You
14a2dc7259
fix: do not swallow vue.config.js errors
...
close #874 , close #866
2018-02-28 18:15:31 -05:00
Evan You
e15a930b30
fix: enable html doctype by default for pug
...
close #894
2018-02-28 17:20:14 -05:00
Hokid
92ddd097be
feat: add ability to use environment variables in vue.config.js ( #867 )
2018-02-22 14:45:16 -05:00
diogosalazar
b1b1639e03
docs: fix comment typo ( #811 )
...
Small typo
2018-02-12 09:59:50 -05:00
Evan You
b5564afb57
fix: respect user configured output path
...
also ensure wc/lib mode respect user raw webpack config.
fix #809
2018-02-09 12:12:08 -05:00
Evan You
920d8fa539
fix: object returned from api.configureWebpack should be merged
2018-02-05 19:57:57 -05:00
Evan You
85aacc3464
refactor: improve options validation
2018-02-03 22:19:21 -05:00
Evan You
7d590d8756
fix: avoid deepmerge on project config
2018-02-02 02:24:05 -05:00
Evan You
702b539d33
revert: feat: load config w/ cosmiconfig
...
This reverts commit 52881223c3 .
2018-02-02 01:03:36 -05:00
Evan You
1c4943b6ec
feat: improve build lib/web-component
2018-02-01 15:12:32 -05:00
Evan You
faadadf5ad
feat: build --target lib/wc
2018-01-30 01:04:11 -05:00
Evan You
6efabe11b0
refactor: disable loading project config from rc
2018-01-29 18:32:41 -05:00
Evan You
52881223c3
feat: load config w/ cosmiconfig
2018-01-27 16:46:15 -05:00
Evan You
29d01f54c4
refactor + tests for CSS resolver
2018-01-14 00:32:21 -05:00
Evan You
902f6c0fb3
feat: pwa
2018-01-09 17:45:41 -05:00