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