Commit Graph

233 Commits

Author SHA1 Message Date
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
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
Evan You
0ba111eed8 feat: allow configuring postcss-loader via css.loaderOptions.postcss 2018-06-05 00:39:20 -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
Craig Morris
af1151a494 fix: only provide baseUrl fix if baseUrl provided (#1421) 2018-05-31 14:03:46 -04:00
Evan You
e17f78c6c5 fix(unit-mocha): ensure correct mode for webpack config
close #1389
2018-05-30 11:37:30 -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
Evan You
7ce91c89f2 workflow: enable eslint node/no-extraneous-require 2018-05-30 10:25:33 -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
9846cd520c fix: fix caching dependency (close #1384) 2018-05-29 09:29:18 -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
ebffdf0543 refactor: compiler -> runtimeCompiler
BREAKING CHANGE: `compiler` option has been renamed to `runtimeCompiler`
2018-05-28 21:38:04 -04:00
Evan You
869f00513e feat: support multi-page app via pages option 2018-05-28 19:38:33 -04:00
Evan You
f0fd375333 feat: tweak css extraction chunk name 2018-05-28 16:49:28 -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
Evan You
1e98d96376 feat: re-introduce css.modules option
BREAKING CHANGE: internal webpack rules for CSS have been changed.
2018-05-28 11:37:10 -04:00
Guillaume Chau
0a954df7f3 chore: merge dev 2018-05-24 09:32:28 +02:00
Evan You
8fe554c04c perf: enable vue-loader template compilation caching 2018-05-22 13:25:52 -04:00
Guillaume Chau
b75efc3a67 chore: merge dev 2018-05-22 17:05:07 +02:00
Evan You
1075576690 perf: adjust caching and parallelization 2018-05-22 00:09:30 -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
JK
9638d90005 feat(cli-service): add assetsDir option to specify assets root directory (#1322)
close #1311
2018-05-18 16:49:58 -04:00
test
763cf7a8bc feat: support webp
close #1321
2018-05-18 16:46:09 -04:00
Evan You
9c4c76300f refactor: use built-in toString from webpack-chain 2018-05-17 14:50:56 -04:00
Yingya Zhang
1037b9c9be feat: support <style lang="postcss"> (#1259) 2018-05-14 18:10:57 -04:00
Evan You
da38747f46 feat: allow disabling serve progress via devServer.progress
close #1284
2018-05-14 17:53:33 -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
Evan You
853662c64f fix(css): css-loader importLoaders should account for vue-loader's injected
postStyleLoader.

close #1267
2018-05-11 16:44:14 -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
Igor Randjelovic
b2b277a790 fix: typo in vue-loader compilerOptions (#1263) 2018-05-11 12:39:48 -04:00
Yingya Zhang
2d09a4c171 fix: css sourceMap in production (#1270) 2018-05-11 12:39:22 -04:00
Guillaume Chau
107f471da3 fix(ui): upgrade DashboardPlugin to webpack 4 2018-05-11 12:42:32 +02:00
Guillaume Chau
8bebef2309 chore: merge dev 2018-05-11 02:35:42 +02:00