Skip to content

Commit fa9ddb3

Browse files
committed
- add cordova.js as external
- exlude cordova node modules from ts
1 parent 9177f73 commit fa9ddb3

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"release",
2323
"index.js",
2424
"webpack.config.js",
25-
"config"
25+
"config",
26+
"cordova"
2627
]
2728
}

webpack.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,8 @@ module.exports = function (envArguments) {
9898
},
9999
output: {
100100
path: outDir,
101-
}
101+
},
102+
externals: [ /cordova(\.js)?$/ ]
102103
};
103104

104105
const configAurelia = {

0 commit comments

Comments
 (0)