Commit Graph

132 Commits

Author SHA1 Message Date
Evan You 1973e2de2c fix: fix extracted css publicPath for target --lib
close #2260
2018-08-17 10:04:17 -04:00
Evan You 1e7fa2cf46 fix: fix css output location for relative baseUrl + more details in docs 2018-08-15 18:34:26 -04:00
Haoqun Jiang 69a4fb3ad7 fix: inspect --plugins should log plugin names from webpack-merge (#2201) 2018-08-14 08:59:44 -04:00
Evan You 2953e2214a refactor: validate webpack config in serve as well + warn publicPath config error 2018-08-09 23:26:29 -04:00
Evan You 7b39bed188 refactor: use better modern mode and cors implementation
BREAKING CHANGE: The `corsUseCredentials` option has been replaced by the new
`crossorigin` option.
2018-08-08 23:31:13 -04:00
Evan You 3894a4aba1 feat: respect devServer field in webpack config as well
close #2053
2018-08-03 11:06:26 -07:00
Evan You cf6290f778 fix(serve): use explicit sockjs url unless inside a container
close #1974
2018-07-28 18:31:27 -04:00
Rodrigo Pedra Brum ae1817a769 fix: typo (#1965)
Fixes typo in console.log output when the build is the first build
(direcotry => directory)
2018-07-27 20:12:43 +02:00
Evan You ed0315a5d4 feat(serve): detect and add tip when running inside container 2018-07-27 11:21:45 -04:00
Evan You da38ed4a27 fix: fix hmr in docker + support devServer.public with protocol 2018-07-27 10:57:05 -04:00
Evan You 05079e30a0 chore: improve build message 2018-07-26 16:55:56 -04:00
Evan You 80376470df chore: add warning when using --modern with non app build
ref #1940
2018-07-26 16:05:37 -04:00
Hiển Đào Vinh 6c966f46bb feat(build): set output target before configureWebpack, close #1941 (#1943) 2018-07-25 11:51:54 -05:00
Evan You ccc90c9800 feat(serve): allow specifying public network url via command line 2018-07-24 11:01:39 -04:00
Evan You 30215c2819 feat: add corsUseCredentials option
This allows the user to configure which CORS strategy to use
for <script type=module> in modern mode.

close #1867
2018-07-23 13:04:48 -04:00
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
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
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
Haoqun Jiang 3899b52d39 fix(build): add charset to demo pages, fix #1765 (#1793) 2018-07-09 13:45:26 +02:00
Guillaume Chau 8e5448c2dc refactor: hasProjectYarn & hasProjectGit 2018-07-05 11:11:48 +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 c2da5fcc71 feat(ui): improved IpcMessenger with new options 2018-06-21 13:50:06 +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 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