-
-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
13 additions
and
15 deletions.
There are no files selected for viewing
8 changes: 4 additions & 4 deletions
8
src/schematics/ng-add/_files/extra-webpack.config.js.template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
const singleSpaAngularWebpack = require('single-spa-angular/lib/webpack').default | ||
const singleSpaAngularWebpack = require('single-spa-angular/lib/webpack').default; | ||
|
||
module.exports = (angularWebpackConfig, options) => { | ||
const singleSpaWebpackConfig = singleSpaAngularWebpack(angularWebpackConfig, options) | ||
const singleSpaWebpackConfig = singleSpaAngularWebpack(angularWebpackConfig, options); | ||
|
||
// Feel free to modify this webpack config however you'd like to | ||
return singleSpaWebpackConfig | ||
} | ||
return singleSpaWebpackConfig; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 2 additions & 3 deletions
5
src/schematics/ng-add/_files/src/single-spa/single-spa-props.ts.template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
import { ReplaySubject } from 'rxjs'; | ||
import { AppProps } from 'single-spa'; | ||
|
||
export const singleSpaPropsSubject = new ReplaySubject<SingleSpaProps>(1) | ||
export const singleSpaPropsSubject = new ReplaySubject<SingleSpaProps>(1); | ||
|
||
// Add any custom single-spa props you have to this type def | ||
// https://single-spa.js.org/docs/building-applications.html#custom-props | ||
export type SingleSpaProps = AppProps & { | ||
} | ||
export type SingleSpaProps = AppProps & {}; |