Skip to content

Commit

Permalink
Change exclude config in TSConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
lamualfa committed Dec 8, 2020
1 parent a315093 commit e0225e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helper/setupTypescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ module.exports = function setup(targetDir) {
const tsconfig = `{
"extends": "@tsconfig/svelte/tsconfig.json",
"include": ["src/**/*"],
"exclude": ["node_modules/*", "__sapper__/*", "public/*"],
"exclude": ["node_modules/*", "api/*", "assets/*"],
}`;
const tsconfigPath = join(targetDir, 'tsconfig.json');
writeFileSync(tsconfigPath, tsconfig);
Expand Down

0 comments on commit e0225e8

Please sign in to comment.