Commit Graph

163 Commits

Author SHA1 Message Date
Leon Liu
76e7c38fc8 fix: prefer devServer.public as the custom url for browser to open (#4169)
fixes #3747
2019-06-19 19:23:44 +08:00
Sanapoint 顼轩
47d56e998d fix(cli-service): avoid opening browser twice
fixes #4079
2019-05-30 17:01:27 +08:00
Haoqun Jiang
80028755f8 fix: update the css-loader runtime path for css-loader v2 (#4025) 2019-05-19 21:04:15 +08:00
Francisco
edcce6a311 chore(dev-server): set clientLogLevel option to silent (#4018)
The `none` option is deprecated and will be removed in the next major https://github.com/webpack/webpack-dev-server/pull/1901/files
2019-05-18 16:55:56 +08:00
Haoqun Jiang
f5a1950fd2 refactor!: use EnvironmentPlugin instead of DefinePlugin (#3782)
BREAKING CHANGE:
This change breaks use cases where users have tapped the `define`
plugin options in `chainWebpack`

fixes #3579
2019-04-30 10:17:40 +08:00
Guillaume Chau
89e0697cc9 feat: syntax highlight inspect output (#3844) 2019-04-18 17:03:11 +02:00
Haoqun Jiang
92c69e1602 fix: should pass cwd as argument 2019-04-11 17:39:31 +08:00
Haoqun Jiang
a1aef86578 fix: check for project pnpm only 2019-04-11 17:34:06 +08:00
Haoqun Jiang
94f3ca0e91 fix: better pnpm check
1. separate project pnpm check and global pnpm check
2. rename hasPnpm to hasPnpm3OrLater
2019-04-11 16:38:49 +08:00
Nick
ff62895c99 feat: add --filename option to specify the output (lib) file name (#3703) 2019-04-09 20:40:19 +08:00
robertkruis
a02ef3988f feat: support PNPM as a package manager (#1531)
Enables vue-cli to use PNPM (https://pnpm.js.org/) as package manager
2019-04-09 00:43:47 +08:00
Haoqun Jiang
2e20b7aef4 feat: bundle currentScript polyfill by default if library needs IE support (#3760) 2019-04-08 19:48:19 +08:00
Haoqun Jiang
10296ff6a7 fix: set the path of safari-no-module-fix.js correctly (#3647)
fixes #3033
2019-03-27 23:06:56 +08:00
Thorsten Lünborg
6f93bfeee0 fix(cli-service): inspect --rules (close #3334) (#3378) 2019-03-05 22:28:28 +08:00
Jonas
fec38f5541 fix(cli-service): catch exception if "copy to clipboard" fails (issue #3476) (#3503)
close #3476
2019-02-26 23:53:13 +08:00
Haoqun Jiang
14b2c6e0b1 fix: fix modern mode in monorepo by resolving in the package scope
fixes https://github.com/vuejs/vue-cli/pull/3477#issuecomment-466926461
2019-02-26 01:31:33 +08:00
Evan You
e0983f4054 fix: run modern build in separate process (#3477)
fix #3438, #3474
2019-02-20 14:04:47 +08:00
JK
ea5d9f763e feat(cli-service): add history api fallback for multi-page mode (#3181) 2019-02-19 17:05:07 +08:00
houfeng
9029ad1955 fix: do not add link tag to demo page when css extract is false (#3351) 2019-01-28 18:50:53 +08:00
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