mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore(build): remove linting checks we do not want for dist
This commit is contained in:
@@ -50,6 +50,15 @@ export function createTempTsConfig(includeGlob: string[], target: string, module
|
||||
if (config.compilerOptions && config.compilerOptions.outDir) {
|
||||
delete config.compilerOptions.outDir;
|
||||
}
|
||||
|
||||
// remove linting checks that we do not want in dist
|
||||
if (config.compilerOptions.noUnusedLocals) {
|
||||
delete config.compilerOptions.noUnusedLocals;
|
||||
}
|
||||
if (config.compilerOptions.noUnusedParameters) {
|
||||
delete config.compilerOptions.noUnusedParameters;
|
||||
}
|
||||
|
||||
if (config.compilerOptions) {
|
||||
config.compilerOptions.module = moduleType;
|
||||
config.compilerOptions.target = target;
|
||||
|
||||
Reference in New Issue
Block a user