Commit Graph

278 Commits

Author SHA1 Message Date
Evan You
10aa99641b fix(web-component): fix multiple wc-async bundles on the same page
close #1150
2018-07-20 11:36:18 -04:00
Evan You
dcf9931809 fix(build): respect productionSourceMap option for all targets
close #1898
2018-07-20 10:09:17 -04:00
Evan You
744c375fba fix: disable chunk sorting in html-webpack-plugin
close #1669
2018-07-17 23:04:03 -04:00
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
Neil Parley
d3d827c4f8 fix(build): modern plugin when building multi page applications with output in sub directories (#1866) 2018-07-16 14:53:30 +02:00
Guillaume Chau
08352811e0 feat: local service plugins, closes #1841 2018-07-13 17:39:07 +02:00
Guillaume Chau
d212dcd63e feat: package.json: vuePlugins.resolveFrom option, closes #1815 2018-07-13 17:04:11 +02: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
snadn
b1331ee08d fix: when script has no attributes (#1628)
when use webpack `htmlWebpackIncludeAssetsPlugin` include script. the script has no attributes, and build throw error.
2018-07-11 13:22:11 +02:00
posrix
67298808cd feat: pages support title option (#1619)
* pages support title option

* docs: pages `title` option
2018-07-11 01:29:30 +02:00
Roc Wang
78174dc5e8 fix(modern): fix the failure of modern build when the output HTML filename contain subdirectories
fix https://github.com/vuejs/vue-cli/issues/1791
2018-07-11 01:22:27 +02:00
Haoqun Jiang
3899b52d39 fix(build): add charset to demo pages, fix #1765 (#1793) 2018-07-09 13:45:26 +02:00
Yingya Zhang
8c4c96ef93 chore: fix typo babel (#1787) 2018-07-09 10:13:33 +02:00
Guillaume Chau
96778b2caf chore: update main deps (#1772)
* chore: update main deps

* chore: update ts types

* chore: update generator deps versions

* fix: ts-jest

* chore: upgrade ts-jest again

* fix: re-generated yarn.lock

* chore: more upgrades

* fix: jest test matching on Windows
2018-07-08 13:56:10 +02:00
Guillaume Chau
8e5448c2dc refactor: hasProjectYarn & hasProjectGit 2018-07-05 11:11:48 +02:00
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