diff --git a/tsconfig-aot.json b/tsconfig-aot.json index 5d0448ad0199cc12fe53cc8fbcf7e697667fc19a..3a4115d6cfbc48fe643b9e85be53edab3f03ff25 100644 --- a/tsconfig-aot.json +++ b/tsconfig-aot.json @@ -7,7 +7,8 @@ "sourceMap": false, "baseUrl": ".", "paths": { - "third_party/*" : ["third_party/*"] + "third_party/*" : ["third_party/*"], + "src/*" : ["src/*"] } }, "angularCompilerOptions":{ diff --git a/tsconfig.json b/tsconfig.json index a15e5d0540dbc162397df6cfbdcf97b742da48a1..f8617eab74953284b4d1a3f9ed6e234b455c10ab 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,7 +7,8 @@ "sourceMap": true, "baseUrl": ".", "paths": { - "third_party/*" : ["third_party/*"] + "third_party/*" : ["third_party/*"], + "src/*" : ["src/*"] } } } \ No newline at end of file diff --git a/webpack.aot.js b/webpack.aot.js index 881b9448819220303ba63a8349310a7f7ff542e1..2387968a71f12e52d4752e116bc760f0f7c723b4 100644 --- a/webpack.aot.js +++ b/webpack.aot.js @@ -66,7 +66,8 @@ module.exports = merge(staticAssets, { '.json' ], alias : { - "third_party" : path.resolve(__dirname,'third_party') + "third_party" : path.resolve(__dirname,'third_party'), + "src" : path.resolve(__dirname,'src') } } }) \ No newline at end of file diff --git a/webpack.common.js b/webpack.common.js index cd45150f4c4612bb8a8ba050a0650128c2f3606f..aafad55efaecb04b6f4684048c5fc6e91479d946 100644 --- a/webpack.common.js +++ b/webpack.common.js @@ -30,7 +30,8 @@ module.exports = { '.json' ], alias : { - "third_party" : path.resolve(__dirname,'third_party') + "third_party" : path.resolve(__dirname,'third_party'), + "src" : path.resolve(__dirname,'src') } }, } \ No newline at end of file