chore: add exclude config to tsconfig.json

This commit is contained in:
chenjiahan 2023-07-02 17:39:30 +08:00
parent a05418fc25
commit 60163c65ab
8 changed files with 15 additions and 8 deletions

View File

@ -6,5 +6,6 @@
"module": "commonjs", "module": "commonjs",
"declaration": true "declaration": true
}, },
"include": ["src/**/*"] "include": ["src/**/*"],
"exclude": ["**/node_modules", "**/.*/"]
} }

View File

@ -4,5 +4,6 @@
"outDir": "./dist", "outDir": "./dist",
"declaration": true "declaration": true
}, },
"include": ["src/**/*"] "include": ["src/**/*"],
"exclude": ["**/node_modules", "**/.*/"]
} }

View File

@ -5,5 +5,6 @@
"outDir": "./lib", "outDir": "./lib",
"declaration": true "declaration": true
}, },
"include": ["src/**/*"] "include": ["src/**/*"],
"exclude": ["**/node_modules", "**/.*/"]
} }

View File

@ -4,5 +4,6 @@
"outDir": "./dist", "outDir": "./dist",
"declaration": true "declaration": true
}, },
"include": ["src/**/*"] "include": ["src/**/*"],
"exclude": ["**/node_modules", "**/.*/"]
} }

View File

@ -4,5 +4,6 @@
"outDir": "./dist", "outDir": "./dist",
"declaration": true "declaration": true
}, },
"include": ["src/**/*"] "include": ["src/**/*"],
"exclude": ["**/node_modules", "**/.*/"]
} }

View File

@ -4,5 +4,6 @@
"outDir": "./dist", "outDir": "./dist",
"declaration": true "declaration": true
}, },
"include": ["src/**/*"] "include": ["src/**/*"],
"exclude": ["**/node_modules", "**/.*/"]
} }

View File

@ -7,7 +7,7 @@
}, },
"include": ["es/**/*", "lib/**/*"], "include": ["es/**/*", "lib/**/*"],
"exclude": [ "exclude": [
"node_modules", "**/node_modules",
"**/test/**/*", "**/test/**/*",
"**/demo/**/*", "**/demo/**/*",
"**/vue-lazyload/*" "**/vue-lazyload/*"

View File

@ -4,5 +4,6 @@
"allowJs": true, "allowJs": true,
"noImplicitThis": true "noImplicitThis": true
}, },
"include": ["src/**/*", "docs/**/*", "test/**/*"] "include": ["src/**/*", "docs/**/*", "test/**/*"],
"exclude": ["**/node_modules", "**/.*/"]
} }