Skip to content
This repository has been archived by the owner on Sep 10, 2020. It is now read-only.

Commit

Permalink
Including zonejs for Angular
Browse files Browse the repository at this point in the history
  • Loading branch information
joeldenning committed Jun 14, 2019
1 parent afcd9fc commit 047fbfd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/root-config-dist.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// For angular
import "zone.js";

import { registerAllCoreApplications } from "./root-config-lib";
import { start } from "single-spa";

Expand Down
5 changes: 4 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ module.exports = {
},
disableHostCheck: true
},
externals: ["single-spa"],
externals: {
"single-spa": "single-spa",
"zone.js": "https://unpkg.com/[email protected]/dist/zone.js"
},
plugins: []
};

0 comments on commit 047fbfd

Please sign in to comment.