Commit Graph

116 Commits

Author SHA1 Message Date
Thorsten Lünborg 8cdc9d122d fix(dev-server): pass 2nd argument to devServer.before (#1854)
closes #1833
2018-07-17 14:40:31 -04:00
Evan You d26cb864b4 fix(build): avoid default import warning when lib entry has no default export
close #1641
2018-07-17 12:44:25 -04:00
Evan You 369f97238e fix(build): fix global object when building as lib with async chunks
close #1607
2018-07-17 11:54:54 -04:00
Payton Burdette 153c418555 feat: vue config command (#1554)
* fixed broken plugin dev link on contributing guide

* feat(cli-service): vue config command added

* feat(cli-service): vue config command added

* feat(cli-service): added config commands get and delete

* feat(cli-service): added vue edit command and opn dependcy

* feat(cli-service): added vue config set command and vue config check

* feat(cli-service): nested path support and command/logs adjustment

* feat(cli-service): command option descriptions updated with preset

* refactor: object get/set/unset

* feat: json option + fs/JSON fixes
2018-07-12 00:36:59 +02:00
Haoqun Jiang 3899b52d39 fix(build): add charset to demo pages, fix #1765 (#1793) 2018-07-09 13:45:26 +02:00
Guillaume Chau 8e5448c2dc refactor: hasProjectYarn & hasProjectGit 2018-07-05 11:11:48 +02:00
Thorsten Lünborg d6014417b3 fix: avoid using ES6 in code injected into --lib builds (#1736) 2018-07-03 10:34:33 -04:00
Guillaume Chau c2da5fcc71 feat(ui): improved IpcMessenger with new options 2018-06-21 13:50:06 +02:00
Guillaume Chau dbf72318cb feat(ui): modern build mode 2018-06-14 01:35:49 +02:00
Evan You ddf9c36218 refactor: consistent build target env variable 2018-06-13 15:38:36 -04:00
Evan You fe936f3dfa docs: document new features 2018-06-13 14:48:06 -04:00
Evan You 0b42f2f77a refactor: make modern mode a build flag instead of an option 2018-06-13 13:17:46 -04:00
Evan You 272ef5e2a4 feat: vue-cli-service build --report/--report-json 2018-06-13 13:17:46 -04:00
Evan You a7564d6e77 fix: should repsect configureWebpack hooks when resolving app config 2018-06-13 01:40:17 -04:00
Evan You 0ab4761596 chore: ensure clearing env var in normal build 2018-06-13 01:21:09 -04:00
Evan You 204d8f07de feat: modern mode 2018-06-12 23:51:19 -04:00
Adrian B. Danieli f0498f6698 fix: use devServer.public to build sockjsUrl, if defined. (#1526) 2018-06-11 15:04:01 -04:00
Evan You 323a38c2cf fix(build): --target app should respect inline entry as well
close #1533
2018-06-10 14:59:00 -04:00
Evan You 1732007ce8 feat: bail when user directly mutate output.publicPath 2018-06-06 14:13:05 -04:00
JK 2cbe373c11 fix(serve): make sockjs url fixed with host (#1476) 2018-06-05 14:15:33 -04:00
Evan You 1dc47eb955 feat(build): support named exports when building --target lib with js/ts entry
close #1436

BREAKING CHANGE: When building a js/ts entry file with --target lib, the
library now exposes a Module with both default and named exports. This means
in the UMD build, the default export now needs to be accessed as
`window.yourLib.default`, and in the CommonJS build as
`const yourLib = require('yourLib').default`. If you don't have named exports
and want to retain the previous behavior, you can configure webpack to use
`output.libraryExport: 'default'` in `vue.config.js`.
2018-06-05 11:58:17 -04:00
Arthur Denner c19bbff79e feat(cli-service): support --no-clean flag (#1457)
close #1446
2018-06-05 10:34:30 -04:00
Craig Morris af1151a494 fix: only provide baseUrl fix if baseUrl provided (#1421) 2018-05-31 14:03:46 -04:00
Evan You a9e12865b5 feat: respect baseUrl during development
BREAKING CHANGE: `devBaseUrl` option has been removed. `baseUrl` now works for
both development and production. To use different paths for prod/dev, use
conditional values based on `process.env.NODE_ENV` in `vue.config.js`.
2018-05-30 11:01:16 -04:00
JK 04600e6362 fix(cli-service): make devBaseUrl work properly in serve command (#1405) 2018-05-30 10:53:11 -04:00
Craig Morris 5e95b3df73 feat: add --copy option for vue-cli-service serve (#1355) 2018-05-29 08:59:10 -04:00
Evan You c12f240e3a fix: make umd build usable in Node
close #1348
2018-05-29 00:50:17 -04:00
Evan You 0bc2aeba6d chore: merge dev 2018-05-28 22:10:41 -04:00
Evan You 1719622494 feat: make public dir optional
close #1265
2018-05-28 14:33:45 -04:00
Evan You 9a4159dd9c fix(build): only modify css extraction if its enabled
close #1378
2018-05-28 12:47:19 -04:00
Guillaume Chau d203fa0a5e chore: merge dev 2018-05-21 17:21:22 +02:00
Evan You 5793b91b55 chore: tweak build watch mode message 2018-05-21 10:49:13 -04:00
ziga 6ea17c9f04 feat(build): add 'watch' option (#1332) 2018-05-21 10:46:15 -04:00
Guillaume Chau 9b4970cc82 chore: merge dev 2018-05-19 04:18:39 +02:00
test a67f34af11 chore: fix inspect 2018-05-18 18:09:24 -04:00
Guillaume Chau e6e6e90dfa chore: merge dev 2018-05-18 23:52:25 +02:00
Evan You 9c4c76300f refactor: use built-in toString from webpack-chain 2018-05-17 14:50:56 -04:00
Guillaume Chau b6114d49c7 chore: merge dev 2018-05-12 04:33:14 +02:00
Evan You fd1c0d5b8a feat(inspect): add --rules and --plugins options for inspect command 2018-05-11 17:21:06 -04:00
Evan You 82349ba254 feat(inspect): add --rule and --plugin options for inspect command 2018-05-11 17:16:20 -04:00
Guillaume Chau 6c158cf19a chore: merge dev 2018-05-11 20:53:43 +02:00
Evan You f6bfb632c8 feat(inspect): improve vue inspect output with webpack-chain hints
close #881
2018-05-11 13:25:23 -04:00
Guillaume Chau 8bebef2309 chore: merge dev 2018-05-11 02:35:42 +02:00
Evan You edc5c3f96d test: fix publicPath import typo 2018-05-09 18:05:37 -04:00
Evan You 66bab8c029 fix: respect chunk name in all build targets
close #1251
2018-05-09 17:46:42 -04:00
Evan You c3d246f7a2 fix: ensure dynamic publicPath is set early in lib/wc mode
fix #1253
2018-05-09 17:41:08 -04:00
Evan You 8b4a112b31 fix: improve error message when entry is missing w/ --target lib
close #1051
2018-05-09 17:29:56 -04:00
Evan You 2dcdeddde4 feat: upgrade to webpack 4
BREAKING CHANGE: Upgrade wepback 4, all webpack option
modifications must be webpcak 4 compatible. Drop support
for webpack plugins that do not work with v4 or above.
2018-05-08 16:55:13 -04:00
Evan You f5c0f58673 feat: upgrade to vue-loader 15
BREAKING CHANGE: the "vueLoader" option has been removed. To modify vue-loader
options, use chainWebpack then `config.module.rule(vue).use(vue-loader).tap()`.
vue-loader has been upgraded to v15 and expects different options from v14.
2018-05-04 18:58:11 -04:00
Evan You 05f9f3adbc feat(serve): support entry in vue-cli-service serve
close #974
2018-05-03 16:09:42 -04:00