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",
"declaration": true
},
"include": ["src/**/*"]
"include": ["src/**/*"],
"exclude": ["**/node_modules", "**/.*/"]
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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