Skip to content

Commit

Permalink
CHANGE angular styles & scripts to the iframe-entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
ndelangen committed Aug 2, 2018
1 parent 78d8c6c commit 85b73bd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/angular/src/server/angular-cli_config.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@ export function applyAngularCliWebpackConfig(baseConfig, cliWebpackConfigOptions
// cliStyleConfig.entry adds global style files to the webpack context
const entry = {
...baseConfig.entry,
...cliStyleConfig.entry,
iframe: []
.concat(baseConfig.entry.iframe)
.concat(Object.values(cliStyleConfig.entry).reduce((acc, item) => acc.concat(item), [])),
};

const mod = {
Expand Down

0 comments on commit 85b73bd

Please sign in to comment.