Search
const defaultInclude = [ [ { not: /[\\/]node_modules[\\/]/ }, /\.(?:ts|tsx|jsx|mts|cts)$/, ], ];
source.include 用于指定额外需要编译的 JavaScript 文件。默认情况下,会编译以下文件:
source.include
.ts
.tsx
.jsx
.mts
.cts
node_modules
.js