diff --git a/examples/typescript/modules/typescript.js b/examples/typescript/modules/typescript.js index 6dfd4c3d7b..02dfadd2b3 100644 --- a/examples/typescript/modules/typescript.js +++ b/examples/typescript/modules/typescript.js @@ -7,7 +7,11 @@ export default function () { loader: 'ts-loader', options: { appendTsSuffixTo: [/\.vue$/] - } + }, + exclude: [ + /dist/, + /\.temp/ + ] } // Add TypeScript loader config.module.rules.push(