File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/@angular/cli/models/webpack-configs Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -97,14 +97,14 @@ export function getStylesConfig(wco: WebpackConfigOptions) {
9797 if ( globalStylePaths . length > 0 ) {
9898 rules . push ( ...baseRules . map ( ( { test, loaders} ) => ( {
9999 include : globalStylePaths , test, loaders : ExtractTextPlugin . extract ( {
100- loader : [
100+ use : [
101101 // css-loader doesn't support webpack.LoaderOptionsPlugin properly,
102102 // so we need to add options in its query
103103 `css-loader?${ JSON . stringify ( { sourceMap : cssSourceMap } ) } ` ,
104104 ...commonLoaders ,
105105 ...loaders
106106 ] ,
107- fallbackLoader : 'style-loader' ,
107+ fallback : 'style-loader' ,
108108 // publicPath needed as a workaround https://github.com/angular/angular-cli/issues/4035
109109 publicPath : ''
110110 } )
You can’t perform that action at this time.
0 commit comments