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
Guillaume Chau
2a483051ed
chore: merge dev
2018-05-02 17:01:20 +02: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
69a6b0bbfe
refactor(cli-serivce): use async functions when running service commands
2018-04-30 19:02:42 -04:00
Evan You
0f73a91162
refactor: use fs-extra
2018-04-30 18:19:02 -04:00
Evan You
fd9d255f65
fix(build): fix --dest flag regression
...
close #1193
2018-04-30 16:16:08 -04:00
Guillaume Chau
f674aa69c6
chore: merge dev
2018-04-28 15:33:24 +02:00
Guillaume Chau
6bb64a9678
fix(ui): serve disconnect IPC after first run
2018-04-28 01:39:16 +02:00
Guillaume Chau
8ebdb05165
fix(ui): vue ui command moved from cli-service to cli
2018-04-28 01:22:15 +02:00