Commit Graph

261 Commits

Author SHA1 Message Date
Marvin
20bbff0c79 fix: default html template, closes #1679 (#1707) 2018-07-04 13:14:05 +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
55c2819e31 feat(ui): better build progress 2018-06-30 19:18:54 +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
Adrian B. Danieli
e2a7063c9f fix(modern): send credentials when loading script modules. (#1695)
* Send credentials when loading script modules.

Otherwise, things like BasicAuth won't work.

* fix: updated modern mode tests.

* fix: updated crossorigin comment.

* fix: typo
2018-06-29 00:35:10 +02:00
Guillaume Chau
c2da5fcc71 feat(ui): improved IpcMessenger with new options 2018-06-21 13:50:06 +02:00
Guillaume Chau
2a214343c1 fix(ui): put temp stats files in node_modules 2018-06-14 16:55:56 +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
5792ed89fb test: fix tests 2018-06-13 14:22:44 -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
2b55576728 test: test for modernMode 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
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