Commit Graph

1919 Commits

Author SHA1 Message Date
Haoqun Jiang 7228146b2b revert: "fix: should not add polyfills from transform-runtime plugin (#3730)" (#3742)
This reverts commit b98796938e.

closes #3741
2019-04-01 16:06:52 +08:00
Haoqun Jiang 75bc181d62 feat: add jest typeahead plugin (#3589)
closes #1908
2019-04-01 14:19:56 +08:00
Haoqun Jiang 30f2aad0a7 feat: support multi-main entry in pages config (#3595) 2019-04-01 14:18:35 +08:00
Haoqun Jiang d037fbbec5 v3.5.4 2019-04-01 00:33:04 +08:00
Haoqun Jiang 5eb142591b fix(generator): add core-js as direct dependency of generated projects (#3736) 2019-04-01 00:17:34 +08:00
Haoqun Jiang 9bdff3b43a fix: should not use abosulte polyfill paths when absoluteRuntime is on (#3732)
fixes #3725
2019-04-01 00:17:20 +08:00
Haoqun Jiang b98796938e fix: should not add polyfills from transform-runtime plugin (#3730)
It is due to a misunderstanding when upgrading babel from 7.0.0-beta.47
to 7.x.
In Vue CLI, usage-based polyfills are **only** added by @babel/preset-env
so that it avoids overheads. `transform-runtime` plugin adds polyfills
regardless of env targets so we must disable its polyfill feature.
Though, there're edge cases where runtime-helpers' polyfill dependency
are not correctly added (https://github.com/babel/babel/issues/7597),
so we also need to whitelist `@babel/runtime` for webpack to transpile.
2019-04-01 00:06:07 +08:00
Haoqun Jiang 582dc45015 v3.5.3 2019-03-27 23:51:30 +08:00
Haoqun Jiang f107623478 fix: downgrade @babel/preset-env temporarily (#3716) 2019-03-27 23:26:52 +08:00
Thorsten Lünborg adac48db0d fix: properly load non-js config files in genCacheConfig (#3632)
close #3631
2019-03-27 23:08:54 +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
Haoqun Jiang 1d14d4d246 feat: support pug as html template (#3663)
closes #3646
2019-03-27 18:02:43 +08:00
Haoqun Jiang e1328accf6 chore: 3.5.2 changelog [ci skip] 2019-03-27 10:54:41 +08:00
Haoqun Jiang 0dc7934972 v3.5.2 2019-03-27 10:42:28 +08:00
Haoqun Jiang 4d6fcf5455 fix: use absolute import path for injected core-js polyfills (#3710)
fixes #3678
2019-03-27 10:40:22 +08:00
Haoqun Jiang 156ef21c42 fix: explicitly set corejs version for @babel/preset-env (#3696)
closes #3695
2019-03-26 17:22:56 +08:00
btoo fd20e1ff15 docs: fix typo in README.md (#3686) [ci skip] 2019-03-21 09:33:08 +08:00
Haoqun Jiang b460b6707f chore: upgrade vue-property-decorator to 8.x 2019-03-16 00:57:16 +08:00
Haoqun Jiang e48a9569a3 test: fix windows test 2019-03-12 16:23:43 +08:00
Haoqun Jiang dd18cd8fe0 test: remove .only 2019-03-12 16:19:02 +08:00
Haoqun Jiang 0b363bec49 v3.5.1 2019-03-12 16:03:53 +08:00
Haoqun Jiang dd377731e5 fix: should resolve to full path when setting default entryFiles
closes #3616
closes #3618
2019-03-12 15:53:34 +08:00
Haoqun Jiang ddf3a2fce2 docs: update references of jsx support [ci skip] 2019-03-11 00:39:49 +08:00
Thorsten Lünborg d23e728c32 docs: Document jest's transformIgnorePatterns option to avoid pitfall (#3523) [ci skip] 2019-03-10 22:49:55 +08:00
Haoqun Jiang 65eec48581 v3.5.0 2019-03-08 14:40:48 +08:00
Haoqun Jiang 307b510269 chore: pre release sync 2019-03-08 14:40:27 +08:00
Markus Doits 9aff29d4fb fix: setting env by -e in e2e tests (#3583) 2019-03-06 23:39:14 +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 93f57ac4a9 fix: use an environment variable to determine the entry files to inject default polyfills (#3565)
The old logic is not reliable due to the presence of thread-loader
closes #2983
2019-03-06 00:21:46 +08:00
Thorsten Lünborg 6f93bfeee0 fix(cli-service): inspect --rules (close #3334) (#3378) 2019-03-05 22:28:28 +08:00
勾三股四 4c3f2e7d8d docs: typo: object rest spread (#3556) [ci skip] 2019-03-04 22:50:43 +08:00
Haoqun Jiang 873ad84611 feat: loosen the restriction of typescript version (#3542) 2019-03-02 23:43:01 +08:00
WilsonLiu95 7df0c58ff2 feat: add entryFiles option, allowing explicit polyfill injection to specified files (#3470) 2019-02-28 16:38:52 +08:00
Haoqun Jiang bd57f15a15 feat: support environment variable expansion (#3534) 2019-02-28 15:04:46 +08:00
Haoqun Jiang 2de215e849 feat: warn if run instant prototyping in a project directory (#3508)
closes #2473
2019-02-28 15:04:35 +08:00
Haoqun Jiang f5b174ff79 feat: allow vue.config.js to return a function (#3499)
closes #3213
2019-02-28 15:03:25 +08:00
Michiel Nugter 8562d3edfd feat: add .mjs files as transpileable files (#3485) 2019-02-28 14:41:42 +08:00
Fengyuan Chen f2a6db2337 refactor(cli-plugin-eslint): merge lint-staged config (#3487) 2019-02-28 14:40:06 +08:00
Haroen Viaene 94ff7bf33c chore(ui): add analytics tags to dependency search (#3458) 2019-02-27 16:46:57 +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
Barthélémy Ledoux 6e9ba9beb1 fix: add missing package keys to the sort array (issue #3509) (#3510) 2019-02-26 23:52:18 +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
Haoqun Jiang 51efb99c15 test: revert puppeteer to 1.11.0 2019-02-25 01:32:50 +08:00
Haoqun Jiang 5306c3787d chore: update deps 2019-02-25 01:05:44 +08:00
Haoqun Jiang 266090da2a fix: lock @vue/test-utils version as it's still in beta and may introduce breaking changes 2019-02-25 00:39:55 +08:00
Haoqun Jiang 19c474e2e1 test: bump timeout, fixes AppVeyor CI 2019-02-22 22:24:48 +08:00
Haoqun Jiang b3de889754 test: add test for legacy bundle in modern mode 2019-02-21 19:09:14 +08:00
Haoqun Jiang 0c3f6183a8 v3.4.1 2019-02-20 14:48:28 +08:00
Haoqun Jiang 805a4ce291 test: add test for modern mode build result 2019-02-20 14:22:32 +08:00
Evan You e0983f4054 fix: run modern build in separate process (#3477)
fix #3438, #3474
2019-02-20 14:04:47 +08:00