Haoqun Jiang
15537577f9
fix: use the correct size unit (KiB)
...
fixes #3283
2019-01-12 00:30:45 +08:00
Haoqun Jiang
e7af0d8fa3
feat: deprecate confusing baseUrl option, use publicPath instead. ( #3143 )
...
* feat: deprecate confusing `baseUrl` option, use `publicPath` instead.
* fix: do not touch CHANGELOG.md
* docs: links referring baseUrl now changed to publicPath
2019-01-07 21:20:05 +08:00
JK
6d35461707
fix(cli-service): do not display absolute baseUrl ( #2900 )
2018-11-12 14:45:10 +08:00
katebe
1e200c5726
feat: build library with specified formats ( #2583 )
2018-10-30 23:43:31 +08:00
Haoqun Jiang
38efc032e5
feat: add --no-unsafe-inline flag for modern mode ( #2741 )
...
closes #2570
2018-10-29 19:14:11 +08:00
岩
7096bacab3
fix(cli-service): fix path RegEx error ( #2830 )
2018-10-29 19:06:28 +08:00
Thorsten Lünborg
8bf7dfdd12
fix(wc): don't overwrite user-defined externals ( #2831 )
2018-10-29 19:04:37 +08:00
Bogdan Luca
9a64708ed3
fix(serve): also detect kubernetes containers ( #2795 )
2018-10-27 12:43:35 +08:00
mattwmj
20dd09d0a8
fix: build --target lib should merge externals in vue.config.js ( #2653 )
...
fixes #2646
2018-09-30 18:43:32 +08:00
Matthew Pietz
09305db48f
chore: add module concatenation hint ( #2503 )
...
Allow Webpack to process this file as an ES Module, which allows
concatenating using ModuleConcatenationPlugin, resulting in a slightly
smaller bundle and removes the overhead of a runtime `require()`.
The export default null will get optimized away during tree-shaking.
2018-09-15 01:33:46 +08:00
Alexander Sokolov
1392ba562b
docs: [RU] Translation update ( #2401 ) [ci skip]
...
* docs: [RU] build-targets.md fix
* docs: [RU] deployment.md added new section
* Update deployment.md
* docs: (ru) deployment.md fix
* docs: [RU] html-and-static-assets.md правка
* docs: image translated into russian
* added ai assets for en and ru
* docs: (ru) ui-api.md changed to localized image
2018-09-09 01:04:39 +08:00
Andy Parsons
f9652a1d4f
fix(serve): respect devServer.openPage field ( #2309 )
2018-09-04 16:17:54 +08:00
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