Disable type checking in storybook (#232)

This commit is contained in:
Rijk van Zanten
2020-03-23 11:19:37 -04:00
committed by GitHub
parent 6815593018
commit 8f983fecf2
2 changed files with 2 additions and 7 deletions

View File

@@ -33,14 +33,12 @@ module.exports = {
loader: 'ts-loader',
options: {
appendTsSuffixTo: [/\.vue$/],
transpileOnly: true // used with ForkTsCheckerWebpackPlugin
transpileOnly: true
},
}
],
});
config.plugins.push(new ForkTsCheckerWebpackPlugin());
config.resolve.extensions.push('.ts', '.tsx');
// Return the altered config

View File

@@ -29,10 +29,7 @@
},
"include": [
"src/**/*.ts",
"src/**/*.tsx",
"src/**/*.vue",
"tests/**/*.ts",
"tests/**/*.tsx"
"src/**/*.vue"
],
"exclude": [
"node_modules"