Commit Graph

184 Commits

Author SHA1 Message Date
Guillaume Chau
8bebef2309 chore: merge dev 2018-05-11 02:35:42 +02:00
Evan You
1b5bdde17d fix: css imports from js
BREAKING CHANGE: `css.modules` option has been removed. To import css files (or
any other supported pre-processor files) as CSS Modules, append the request
with a `?module` resourceQuery.
2018-05-10 17:47:53 -04:00
Evan You
a8af883741 revert: feat: new option "preserveWhitespace""
This reverts commit ea834412f6.
2018-05-09 18:19:22 -04:00
Evan You
edc5c3f96d test: fix publicPath import typo 2018-05-09 18:05:37 -04:00
Evan You
66bab8c029 fix: respect chunk name in all build targets
close #1251
2018-05-09 17:46:42 -04:00
Evan You
c3d246f7a2 fix: ensure dynamic publicPath is set early in lib/wc mode
fix #1253
2018-05-09 17:41:08 -04:00
Evan You
8b4a112b31 fix: improve error message when entry is missing w/ --target lib
close #1051
2018-05-09 17:29:56 -04:00
Evan You
4c5784da73 feat: expose env variables as root level in index.html template 2018-05-08 16:55:30 -04:00
Evan You
2dcdeddde4 feat: upgrade to webpack 4
BREAKING CHANGE: Upgrade wepback 4, all webpack option
modifications must be webpcak 4 compatible. Drop support
for webpack plugins that do not work with v4 or above.
2018-05-08 16:55:13 -04:00
Evan You
6d4e51dd18 feat: remove DLL option
BREAKING CHANGE: dll option has been removed.
2018-05-07 17:27:40 -04:00
Evan You
ea834412f6 feat: new option "preserveWhitespace" 2018-05-04 19:03:07 -04:00
Evan You
f5c0f58673 feat: upgrade to vue-loader 15
BREAKING CHANGE: the "vueLoader" option has been removed. To modify vue-loader
options, use chainWebpack then `config.module.rule(vue).use(vue-loader).tap()`.
vue-loader has been upgraded to v15 and expects different options from v14.
2018-05-04 18:58:11 -04:00
Evan You
da4d0b2e2a feat: relex transpile includes + new transpileDependencies option
BREAKING CHANGE: To include a dependency for Babel transpilation, tapping
babel-loader and adding .include() will no longer work. Use the new
transpileDependencies option instead.
2018-05-03 18:18:27 -04:00
Evan You
05f9f3adbc feat(serve): support entry in vue-cli-service serve
close #974
2018-05-03 16:09:42 -04:00
Guillaume Chau
3698378374 chore: merge dev 2018-05-03 15:58:14 +02:00
Evan You
c4c4bff893 fix(serve): fix non-GET requests match error w/ multi-proxy config
close #1210
2018-05-02 17:59:10 -04:00
Guillaume Chau
2a483051ed chore: merge dev 2018-05-02 17:01:20 +02:00
Evan You
d595adacf4 refactor: adjust mode loading order
BREAKING CHANGE: PluginAPI.setMode() has been removed. Instead, for a plugin to
sepcify the default mode for a registered command, the plugins should expose
`module.exports.defaultModes` in the form of `{ [commandName]: mode }`.

close #959
2018-05-01 17:14:33 -04:00
Evan You
a88fa5f75d refactor: fix tests (service.run should return Promise) 2018-05-01 14:00:26 -04:00
Evan You
69a6b0bbfe refactor(cli-serivce): use async functions when running service commands 2018-04-30 19:02:42 -04:00
Evan You
0f73a91162 refactor: use fs-extra 2018-04-30 18:19:02 -04:00
Evan You
fd9d255f65 fix(build): fix --dest flag regression
close #1193
2018-04-30 16:16:08 -04:00
Guillaume Chau
f674aa69c6 chore: merge dev 2018-04-28 15:33:24 +02:00
Guillaume Chau
6bb64a9678 fix(ui): serve disconnect IPC after first run 2018-04-28 01:39:16 +02:00
Guillaume Chau
2c7c63e2fe fix(ui): remove ui from built in plugin list 2018-04-28 01:28:21 +02:00
Guillaume Chau
8ebdb05165 fix(ui): vue ui command moved from cli-service to cli 2018-04-28 01:22:15 +02:00
Derek Henscheid
2b236e0475 fix(build-wc): honor custom component name for single file wc builds (#1182)
Fixes issue that prevented single entry wc builds from honoring the `--name` argument.

fix #1146
2018-04-27 17:48:32 -04:00
Evan You
81d29ab30b feat: warn when user modifies output.path directly 2018-04-27 17:30:39 -04:00
Evan You
87892a5053 fix(build): copy plugin should be loaded in all cases
close #1073
2018-04-27 17:15:04 -04:00
Evan You
92e136a421 fix: --target lib/wc should overwrite user entry/output
fix #1072
2018-04-27 16:03:11 -04:00
Evan You
8e72943fcf fix: css.extract options handling
close #1061
2018-04-27 12:52:10 -04:00
Guillaume Chau
14881ee925 fix(ui): undefined sources error 2018-04-27 02:04:33 +02:00
Guillaume Chau
602be0388e fix(ui): open when server is ready 2018-04-27 01:35:41 +02:00
Guillaume Chau
d5a3b1f127 fix(ui): max listeners error 2018-04-27 01:28:27 +02:00
Guillaume Chau
d5d0b76c16 fix(ui): analyze bundle error handling 2018-04-27 00:28:44 +02:00
Guillaume Chau
0ac38da9c8 fix(ui): DashboardPlugin clean up 2018-04-27 00:28:30 +02:00
Derek Henscheid
6ca86aa667 feat(inspect): add a -v/--verbose flag to inspect command to output full functions (#1175)
close #1157
2018-04-26 16:56:44 -04:00
Jovino Xu
abb82ab25e fix(cli-service): should not add a leading slash to baseUrl when it is absolute (#1172)
fix #1084
2018-04-26 16:43:10 -04:00
Sabith Karippullil Soopy
79bc088beb fix(serve): don't set header origin if using an agent (#1179) 2018-04-26 16:19:50 -04:00
David Hemphill
65ee2fad24 fix: pass all parameters to onProxyReq in proxy configuration (#1083) 2018-04-26 15:12:57 -04:00
Guillaume Chau
1f87ffdf62 chore(ui): merge dev 2018-04-26 20:22:02 +02:00
Guillaume Chau
5b30b22115 refactor(ui): assets/modules size system reworked + bundle size analysis 2018-04-26 17:32:36 +02:00
Guillaume Chau
aa4e03b80e refactor(ui): remove inspectpack 2018-04-26 15:08:43 +02:00
Guillaume Chau
c29669b149 feat(ui): webpack analyzer 2018-04-26 01:58:04 +02:00
Sanchit Nevgi
1fc9593930 fix: add name to chunk file output (#1173) 2018-04-25 17:47:43 -04:00
Guillaume Chau
dc8b454c56 feat(ui): webpack dashboard 'open app' button 2018-04-24 00:31:13 +02:00
Guillaume Chau
9d00eebb92 refactor(ui): new IpcMessenger plugin utils 2018-04-22 13:33:46 +02:00
Guillaume Chau
53d5d4e89d fix(ui): process killed before ipc messages are sent 2018-04-17 17:42:52 +02:00
Guillaume Chau
1b27231361 feat: vue.config devBaseUrl (fix #1102) 2018-04-17 14:26:50 +02:00
Guillaume Chau
021370d71f fix(ui): express timeout 2018-04-16 19:41:12 +02:00