use forRoot on app router, whitelist ngx on server

This commit is contained in:
William Welling
2017-09-26 15:13:36 -05:00
parent 3b90d6fb43
commit bd25a489d0
3 changed files with 10 additions and 4 deletions

View File

@@ -11,6 +11,9 @@ module.exports = {
},
target: 'node',
externals: [nodeExternals({
whitelist: [/@angular/, /@ng/]
whitelist: [
/@angular/,
/@ng/,
/ngx/]
})],
};