diff --git a/packages/varlet-cli/src/config/webpack.base.config.ts b/packages/varlet-cli/src/config/webpack.base.config.ts index 94f3c56fce4..f44a9d0f5d1 100644 --- a/packages/varlet-cli/src/config/webpack.base.config.ts +++ b/packages/varlet-cli/src/config/webpack.base.config.ts @@ -129,6 +129,7 @@ export function createBaseConfig() { loader: 'ts-loader', options: { appendTsSuffixTo: [/\.vue$/], + allowTsInNodeModules: true, compilerOptions: { declaration: false }