Commit Graph

56 Commits

Author SHA1 Message Date
Haoqun Jiang e41ef41540 chore!: drop webpack-4 support in v5 (#6598)
1. I don't think I'll ever have the capacity to keep maintaining this
compat plugin. It's better to drop it now than later.
2. The plugin is needed at the time of alpha.0 because many ecosystem
plugins does not support webpack 5. But now I don't think it will be a
major hurdle.
3. The implementation was too hacky.
2021-07-30 14:03:54 +08:00
tomica 9f2aa63453 fix: don't append slash on publicPath: 'auto' (#6506) 2021-06-03 21:15:51 +08:00
Haoqun Jiang aad72cfa78 feat: only needs one bundle if all targets support es module (#6419) 2021-04-16 16:36:51 +08:00
Haoqun Jiang cd78376675 feat!: turn on modern mode by default, and provide a --no-module option (#6416) 2021-04-14 14:57:28 +08:00
Haoqun Jiang dd217b2309 feat: support vue.config.mjs (#6405) 2021-04-13 19:26:36 +08:00
Haoqun Jiang 4d134066b4 fix: better dev server & webpack 4 compatibility and some trivial dependency updates (#6291) 2021-02-19 15:07:31 +08:00
Haoqun Jiang 4378c8df26 style: replace eslint-plugin-vue-libs with standard config (#6148) 2021-01-06 14:29:12 +08:00
Haoqun Jiang 2dbe0be840 feat!: support and use webpack 5 as default (#6060) 2020-12-03 15:16:35 +08:00
Blacate 0146001f7d fix: mayProxy.isPublicFileRequest judgment (#5693) 2020-08-15 00:28:43 +08:00
Necmettin Karakaya 5baec1fdc5 chore: fix common misspelling errors (#5694)
Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
2020-08-10 01:17:01 +08:00
Haoqun Jiang 1a0b59142a refactor: use dependencies from @vue/cli-share-utils whenver possible 2019-11-29 15:41:18 +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 72ba7505af fix: should not proxy sockjs endpoint (#4550)
fixes #4504
thanks to https://github.com/facebook/create-react-app/pull/7444
2019-09-07 13:02:34 +08:00
Haoqun Jiang f3d2c1c133 fix: display correct address when multiple network adapters present (#4083)
fixes #3266

see https://github.com/vuejs/vue-cli/issues/3266#issuecomment-493487325

Thanks to @shenliangv
2019-06-04 23:57:31 +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
dailyvuejs b170e15f39 refactor: remove unused placeAtRootIfRelative parameter (#2405) 2019-04-09 18:26:52 +08:00
Thorsten Lünborg bb4f349c87 fix: proxy should warn when array is passed. (#3525)
close #3524
2019-03-06 15:36:49 +08:00
Haoqun Jiang 225b558935 refactor: use dotenv to parse env file and add a link to its docs (#3462) 2019-02-18 14:44:12 +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
Haoqun Jiang 5786e273b2 fix: should not thrown on Windows when proxy target is an object
closes #2478
2018-10-22 01:17:20 +08:00
Haoqun Jiang c46d9cf1d2 fix: typo in error message
closes #2517
2018-09-14 17:13:53 +08:00
悔惜晟 2f19904183 fix: fix HMR hostname when devServe.host is set (#2230) 2018-09-10 21:24:35 +08:00
Evan You 1e7fa2cf46 fix: fix css output location for relative baseUrl + more details in docs 2018-08-15 18:34:26 -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
Wu Wenbin a23dd19389 docs: fix typo (#2076) [ci skip] 2018-08-05 23:30:31 -04:00
Evan You 3bddab93cd chore: show network unavailable for explicit localhost 2018-07-24 11:01:39 -04:00
Evan You 1195aee341 fix: asset output relative check
close #1545
2018-06-11 15:33:34 -04:00
Craig Morris 7c1ef24460 fix(env): preserve existing env vars so load in reverse order. (#1503) 2018-06-07 10:56:30 -04:00
Evan You dc382111d9 feat: allow using relative baseUrl 2018-06-05 00:22:20 -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
JK 9638d90005 feat(cli-service): add assetsDir option to specify assets root directory (#1322)
close #1311
2018-05-18 16:49:58 -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 c4c4bff893 fix(serve): fix non-GET requests match error w/ multi-proxy config
close #1210
2018-05-02 17:59: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
ziga 179033d2b5 fix: allow user to define onProxyReq (#955) 2018-03-07 16:10:40 -05:00
Evan You 114e085b31 fix: fix devServer proxy when using object syntax (fix #945) 2018-03-06 12:24:31 -05:00
Evan You b626ef1a5b feat: make env variables available in HTML template 2018-01-29 18:43:26 -05:00
Evan You 9856549432 refactor: refactor shared utils + move openBrowser 2018-01-27 21:54:27 -05:00
Evan You f547481e3e chore: use execa instead of cross-spawn 2018-01-25 00:05:19 -05:00
Evan You 03503b6f5d tweak pwa registration script 2018-01-10 16:20:29 -05:00
Evan You 902f6c0fb3 feat: pwa 2018-01-09 17:45:41 -05:00
Evan You 01ce10733b preload/prefetch + inline manifest 2018-01-08 23:35:53 -05:00
Evan You d3bb381e7b feat: css preprocessors 2018-01-08 17:47:48 -05:00
Evan You d0de715813 fix css extraction and pre-processors in vue-loader 2018-01-07 22:15:50 -05:00
Evan You 16221c1e78 test for cli-service Service & PluginAPI 2018-01-04 17:38:55 -05:00
Evan You cdb0fd0839 restructure 2017-12-29 16:51:25 -05:00
Evan You c8a52f3838 implement .env loading 2017-12-29 16:34:04 -05:00