forked from JayChase/angular2-useful-swiper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig-ngc.json
41 lines (41 loc) · 1 KB
/
tsconfig-ngc.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"moduleResolution": "node",
"sourceMap": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"removeComments": false,
"noImplicitAny": true,
/**
creates type definitions for the compiled files d.ts
**/
"declaration": true,
/**
output directory for the compiled files
**/
"outDir": "./lib",
"stripInternal": true
},
"exclude": [
"node_modules"
],
/**
array of files to be compiled, in our case is our entry file
**/
"files": [
"./typings/globals/core-js/index.d.ts",
"./src/swiper.module.ts"
],
/**
compiler options for ngc (angular compiler)
**/
"angularCompilerOptions": {
/**
don't produce .ngfactory.ts or .css.shim.ts files,
they get published where the package will be consumed
**/
"skipTemplateCodegen": true
}
}