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 @@ -102,14 +102,14 @@ export function getStylesConfig(wco: WebpackConfigOptions) {
102
102
if ( globalStylePaths . length > 0 ) {
103
103
rules . push ( ...baseRules . map ( ( { test, loaders} ) => ( {
104
104
include : globalStylePaths , test, loaders : ExtractTextPlugin . extract ( {
105
- loader : [
105
+ use : [
106
106
// css-loader doesn't support webpack.LoaderOptionsPlugin properly,
107
107
// so we need to add options in its query
108
108
`css-loader?${ JSON . stringify ( { sourceMap : cssSourceMap } ) } ` ,
109
109
...commonLoaders ,
110
110
...loaders
111
111
] ,
112
- fallbackLoader : 'style-loader' ,
112
+ fallback : 'style-loader' ,
113
113
// publicPath needed as a workaround https://github.com/angular/angular-cli/issues/4035
114
114
publicPath : ''
115
115
} )
You can’t perform that action at this time.
0 commit comments