mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-04-05 19:41:57 +08:00
fix: 编译所有 .vue | .jsx 文件,不管是否在node_modules (#101)
This commit is contained in:
parent
9aca54ce60
commit
1e033d488f
@ -177,7 +177,7 @@ export default async function getConfig({
|
||||
.test(/\.(js|mjs|jsx|ts|tsx)$/)
|
||||
.exclude.add((filepath) => {
|
||||
// always transpile js in vue files
|
||||
if (/\.vue\.jsx?$/.test(filepath)) {
|
||||
if (/(\.vue|\.jsx)$/.test(filepath)) {
|
||||
return false;
|
||||
}
|
||||
// Don't transpile node_modules
|
||||
|
Loading…
x
Reference in New Issue
Block a user