From 8f0dc25e943ff490eefa0ed3663205a14e8eed9e Mon Sep 17 00:00:00 2001 From: Vben Date: Wed, 24 Feb 2021 11:17:44 +0800 Subject: [PATCH] fix(plugin-vue-jsx): do not read babel configuration (#2181) --- packages/plugin-vue-jsx/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/plugin-vue-jsx/index.js b/packages/plugin-vue-jsx/index.js index 5a3479a91e5295..0f15b97fa35cbb 100644 --- a/packages/plugin-vue-jsx/index.js +++ b/packages/plugin-vue-jsx/index.js @@ -85,7 +85,8 @@ function vueJsxPlugin(options = {}) { ast: true, plugins, sourceMaps: needSourceMap, - sourceFileName: id + sourceFileName: id, + configFile: false }) if (!ssr && !needHmr) {