Skip to content
This repository has been archived by the owner on Jan 15, 2023. It is now read-only.

Commit

Permalink
build: update typescript configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
markostanimirovic committed Jun 2, 2021
1 parent 22a2888 commit 8a2c259
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -2,7 +2,7 @@
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build ngrx-handlers --prod && cp README.md ./dist/ngrx-handlers",
"build": "ng build ngrx-handlers --configuration production && cp README.md ./dist/ngrx-handlers",
"lint": "npm run prettier && npm run eslint",
"lint:fix": "npm run prettier:fix && npm run eslint:fix",
"prettier": "prettier --check . --ignore-path .lintignore",
Expand Down
5 changes: 0 additions & 5 deletions projects/ngrx-handlers/tsconfig.lib.json
Expand Up @@ -9,10 +9,5 @@
"types": [],
"lib": ["dom", "es2018"]
},
"angularCompilerOptions": {
"skipTemplateCodegen": true,
"strictMetadataEmit": true,
"enableResourceInlining": true
},
"exclude": ["**/*.spec.ts"]
}
2 changes: 1 addition & 1 deletion projects/ngrx-handlers/tsconfig.lib.prod.json
Expand Up @@ -4,6 +4,6 @@
"declarationMap": false
},
"angularCompilerOptions": {
"enableIvy": false
"compilationMode": "partial"
}
}
3 changes: 2 additions & 1 deletion tsconfig.json
Expand Up @@ -13,14 +13,15 @@
"experimentalDecorators": true,
"moduleResolution": "node",
"importHelpers": true,
"target": "es2015",
"target": "es2017",
"module": "es2020",
"lib": ["es2018", "dom"],
"paths": {
"ngrx-handlers": ["dist/ngrx-handlers/ngrx-handlers", "dist/ngrx-handlers"]
}
},
"angularCompilerOptions": {
"enableI18nLegacyMessageIdFormat": false,
"strictInjectionParameters": true,
"strictInputAccessModifiers": true,
"strictTemplates": true
Expand Down

0 comments on commit 8a2c259

Please sign in to comment.