Skip to content

Commit 6ccb648

Browse files
Use PostCSS processor for resolve-url-loader (laravel-mix#2577)
The rework engine is deprecated and was moved to a peer dependency.
1 parent f32323c commit 6ccb648

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

src/components/Preprocessor.js

+2-7
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,7 @@ class Preprocessor {
6060
loaders.push({
6161
loader: 'resolve-url-loader',
6262
options: {
63-
sourceMap: true,
64-
engine: 'rework'
63+
sourceMap: true
6564
}
6665
});
6766
}
@@ -136,11 +135,7 @@ class Preprocessor {
136135
postCssPlugins
137136
});
138137

139-
this._addChunks(
140-
`styles-${output.relativePathWithoutExtension()}`,
141-
src,
142-
output
143-
);
138+
this._addChunks(`styles-${output.relativePathWithoutExtension()}`, src, output);
144139

145140
return this;
146141
}

0 commit comments

Comments
 (0)