Skip to content

Commit 07bbf67

Browse files
committed
Bug(#24): Fix mapping bug
1 parent 6038ce8 commit 07bbf67

File tree

3 files changed

+32
-6
lines changed

3 files changed

+32
-6
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"name": "ngx-pipes",
3-
"version": "1.4.0",
3+
"version": "1.4.1",
44
"author": "Dan Revah",
55
"description": "Useful angular2 pipes",
66
"license": "MIT",
77
"angular-cli": {},
88
"scripts": {
99
"start": "ng serve",
1010
"test": "ng test",
11-
"build:js": "ngc -p tsconfig.json"
11+
"build:js": "ngc -p tsconfig-aot.json"
1212
},
1313
"main": "src/app/index.js",
1414
"keywords": [

tsconfig-aot.json

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"compilerOptions": {
3+
"declaration": true,
4+
"emitDecoratorMetadata": true,
5+
"experimentalDecorators": true,
6+
"noImplicitAny": true,
7+
"sourceMap": true,
8+
"lib": ["es6", "dom"],
9+
"module": "commonjs",
10+
"moduleResolution": "node",
11+
"target": "es5",
12+
"typeRoots": [
13+
"../node_modules/@types"
14+
]
15+
},
16+
"include": [
17+
"src/app/pipes.module.ts",
18+
"src/app/index.ts",
19+
"index.ts"
20+
],
21+
"exclude": [
22+
"node_modules",
23+
"**/*.spec.ts"
24+
],
25+
"angularCompilerOptions": {
26+
"strictMetadataEmit": true,
27+
"skipTemplateCodegen": true
28+
}
29+
}

tsconfig.json

+1-4
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,5 @@
2020
"exclude": [
2121
"node_modules",
2222
"**/*.spec.ts"
23-
],
24-
"angularCompilerOptions": {
25-
"strictMetadataEmit": true
26-
}
23+
]
2724
}

0 commit comments

Comments
 (0)