diff --git a/packages/generator-single-spa/src/root-config/templates/src/root-config.ejs b/packages/generator-single-spa/src/root-config/templates/src/root-config.ejs index 885489c..253975d 100644 --- a/packages/generator-single-spa/src/root-config/templates/src/root-config.ejs +++ b/packages/generator-single-spa/src/root-config/templates/src/root-config.ejs @@ -11,8 +11,11 @@ registerApplication({ // registerApplication({ // name: "@<%- orgName %>/navbar", -// app: () => System.import("@<%- orgName %>/navbar"), -// activeWhen: ["/"] +// app: () => +// System.import<% if (typescript) {%><% } %>( +// "@<%- orgName %>/navbar" +// ), +// activeWhen: ["/"], // }); start({