Haoqun Jiang
2dbe0be840
feat!: support and use webpack 5 as default ( #6060 )
2020-12-03 15:16:35 +08:00
Kristoffer K
f6850440bc
fix(cli-service): don't write entry-wc to node_modules ( #6101 )
...
Fixes https://github.com/yarnpkg/berry/issues/2189
2020-12-02 21:16:50 +08:00
JayZhong
6c3f118261
fix(cli-service): html template add html5 doctype declaration ( #6083 )
2020-12-02 10:21:59 +08:00
Jonas
33f954cccf
fix(cli-service): pass --public host to devserver ( #6066 )
...
Fixes #3220
Prevent "Invalid Host" error by passing public host to dev server when --public is used
2020-11-20 15:17:45 +08:00
Haoqun Jiang
bedf5bacba
chore: show error message that the wc target with Vue 3 isn't supported yet ( #5906 )
2020-09-29 13:19:22 +08:00
Haoqun Jiang
8dceddb6a6
chore: use stdout.columns to determine the stats table width ( #5754 )
...
closes #5749
2020-08-06 16:19:33 +08:00
Yazhe Wang
de3d0622bb
refactor(cli-service): webpack devtool option ( #5735 )
...
Close : #5729
2020-08-02 12:03:11 +08:00
Bogdan Luca
ddabb6679e
fix: fix kubernetes container detection ( #5681 )
2020-07-19 21:36:56 +08:00
dtcz
326934e084
fix: polyfill injection when building app on multiple threads ( #5592 )
2020-06-22 17:05:04 +08:00
dtcz
dcfb0bdbc9
fix(cli-service): fix polyfill injection when overriding entry with the CLI option
...
Fixes #5508
2020-06-02 21:29:28 +08:00
yazhe wang
36f961e43d
fix(cli-service): process the webpack failed hook in the serve command ( #5542 )
...
fixes #4891
2020-06-02 15:12:58 +08:00
Albert Brand
96dfd581b6
fix(serve): pass devServer sockPath properly to client ( #4800 )
...
closes #4400
closes #4430
2020-05-14 19:44:12 +08:00
Adrian B. Danieli
c64afc3c2a
feat(cli-service): add stdin flag to build ( #5376 )
2020-05-08 16:28:16 +08:00
Haoqun Jiang
ebcee9a32c
fix: spawn scripts with node, fix modern mode with Yarn 2 (Berry) ( #5320 )
...
See https://github.com/yarnpkg/berry/issues/964#issuecomment-587425891
2020-03-27 17:02:23 +08:00
Haoqun Jiang
5b1709abf0
fix(target-lib): fix dynamic public path in a dynamic chunk in Firefox ( #5247 )
...
* fix(target-lib): fix dynamic public path in a dynmaic chunk in Firefox
* fix: fix typo
* feat: use external dependency `@soda/get-current-script`
* fix: const -> var, as the `setPublicPath` file is not transpiled
2020-03-23 16:13:55 +08:00
Jadranko Dragoje
db64c5b400
feat: wc entry accepts multiple file patterns splited by ',' ( #3886 )
2020-03-21 21:39:40 +08:00
Bogdan Luca
7b17d6132c
fix: use a single websocket connection for HMR ( #5069 )
...
* fix(hmr-websocket): add failing test
* fix(hmr-websocket): set injectClient to false, as we inject our own client
* fix(hmr-websocket): change test project name
2020-01-13 21:20:53 +08:00
Marcel Lindig
fff9caaca5
feat(cli): add stdin flag to serve ( #2411 )
...
* feat(cli): add stdin flag to serve
* add back --public help
* reorder help
2020-01-10 18:12:01 +08:00
Kumar Gaurav
aeddc6f2c9
refactor: changed var async to isAsync ( #4909 )
...
`async` is a javascript keyword, so I suggest this variable name will be less prone to error and confusing.
2019-12-06 10:57:43 +08:00
Haoqun Jiang
c4dc8d61c3
refactor: remove unnecessary padEnd & padStart shims
...
Both features are already supported in Node.js v8+
2019-12-03 23:07:47 +08:00
Haoqun Jiang
1a0b59142a
refactor: use dependencies from @vue/cli-share-utils whenver possible
2019-11-29 15:41:18 +08:00
Roman Seidelsohn
26c48992ef
fix(lib): replace "url" module with simple string split ( close #4667 ) ( #4809 )
...
* fix(lib): replace "url" module with simple string split (close #4667 )
Fixes issue #4667 by implementing the proposal https://github.com/vuejs/vue-cli/issues/4667#issuecomment-548464520
Also gets rid of a node module by using simpler code for removing eventual GET parameters
* Update packages/@vue/cli-service/lib/commands/build/formatStats.js
Co-Authored-By: Haoqun Jiang <haoqunjiang@gmail.com >
2019-11-08 18:17:58 +08:00
Haoqun Jiang
01e36f30cf
refactor!: use DefinePlugin (again) instead of EnvironmentPlugin ( #4673 )
...
* Revert "refactor: use EnvironmentPlugin instead of DefinePlugin"
This reverts commit 7117a096df .
* refactor: use the exported DefinePlugin
2019-10-11 13:14:24 +08:00
Haoqun Jiang
e5196f581a
fix: fix redundant log messages from webpack-dev-server ( #4666 )
...
By replacing the `quiet` option with `logLevel: 'silent'`.
Fixes #4599
2019-10-10 09:59:16 +08:00
Thorsten Lünborg
fba2ad0606
feat: --skip-plugins ( #4448 )
...
Allow skipping of plugins from command line
close #4262
close #3830
2019-08-21 15:38:01 +08:00
Roman Pavlov
86f4f5fceb
feat(build): add --inline-vue flag to optionally disable externalization of Vue ( #4261 )
...
Resolves #4055 .
2019-08-19 21:05:46 +08:00
Haoqun Jiang
348e36eedb
fix: merge custom externals config correctly, supports array ( #4429 )
...
closes #4413
2019-08-15 11:48:48 +02:00
Haoqun Jiang
c76d2e691d
style: add a "no-shadow" linter rule ( #4385 )
...
It has become a common source of mistakes.
For example, during PR #4363 I've referred to the wrong `options`
several times due to the variable shadowing.
2019-08-02 18:24:52 +08:00
李枨煊
42ecd08d35
fix: fix stats display when chunkFilename contains query string ( #4359 )
2019-07-29 15:35:12 +08:00
yiliang
a2856a750c
chore(cli-service): word spelling in comments ( #4367 )
2019-07-28 20:39:42 +08:00
Mewes Kochheim
de9748a5a5
fix: do not introduce extra level of directory when building lib for scope packages ( #4320 )
...
This fixes references to static assets in the bundled script.
Fixes #4311
2019-07-22 19:47:22 +08:00
Haoqun Jiang
3dd3774346
chore!: move dev configs into serve command ( #4302 )
...
BREAKING CHANGE:
These configs are only meaningful when used with a running dev
server.
Technically, it is a breaking change.
For example, this breaks use cases in which a user runs their own dev
server instead of calling `vue-cli-service serve`.
2019-07-18 16:36:53 +08:00
shadow-light
9faddce63f
fix: indexPath should also affect non-production builds ( #4057 )
...
fixes #2327
fixes #4247
2019-07-14 22:39:31 +08:00
Min ho Kim
c0aa2bb310
Fix typos ( #4241 )
2019-07-06 07:09:29 +03:00
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