Commit Graph

247 Commits

Author SHA1 Message Date
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
Evan You e15fa20bb6 fix: runtimeCompiler default 2018-06-11 17:48:58 -04:00
Evan You 1195aee341 fix: asset output relative check
close #1545
2018-06-11 15:33:34 -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 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 5b4df14278 fix: resolve.symlinks to false so that node_modules exclusion works
properly on linked modules
2018-06-07 10:28:32 -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 4db901cd26 fix: fine tune chunk splitting
close #1488
2018-06-06 16:16:16 -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
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