Exclude some folders

Fix #3164 thanks to @bigskyrider
This commit is contained in:
Quique Fdez Guerra 2018-04-02 17:56:00 +02:00 committed by GitHub
parent 89bdd71591
commit 53a007c27c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,11 @@ export default function () {
loader: 'ts-loader', loader: 'ts-loader',
options: { options: {
appendTsSuffixTo: [/\.vue$/] appendTsSuffixTo: [/\.vue$/]
} },
exclude: [
/dist/,
/\.temp/
]
} }
// Add TypeScript loader // Add TypeScript loader
config.module.rules.push( config.module.rules.push(