Skip to content

Commit 8cc3956

Browse files
committed
fix: compile vue files from node_modules
1 parent 1ff3cd2 commit 8cc3956

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/plaid-webpack/webpack/common.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ module.exports = async (config, options) => {
4343
{
4444
test: /\.[jt]sx?$/,
4545
use: require.resolve('babel-loader'),
46-
include: [srcDir, testDir],
46+
exclude: file => /node_modules/.test(file) && !/\.vue\.js/.test(file),
4747
},
4848
];
4949
config.optimization = shallowMerge({

0 commit comments

Comments
 (0)