Skip to content

Commit

Permalink
fix(cli): 修改ts-loader配置 allowTsInNodeModules
Browse files Browse the repository at this point in the history
affects: @varlet/cli
  • Loading branch information
haoziqaq committed Nov 23, 2020
1 parent 6467b46 commit cf65039
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/varlet-cli/src/config/webpack.base.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ export function createBaseConfig() {
loader: 'ts-loader',
options: {
appendTsSuffixTo: [/\.vue$/],
allowTsInNodeModules: true,
compilerOptions: {
declaration: false
}
Expand Down

0 comments on commit cf65039

Please sign in to comment.