Skip to content

Commit 94a809e

Browse files
committed
fix - Port example to a newer syntax
1 parent 53bb481 commit 94a809e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

example/webpack.config.js

+6-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,12 @@ module.exports = {
1515
loaders: [
1616
{ test: /\.css$/, use: ExtractTextPlugin.extract({
1717
fallback: "style-loader",
18-
use: "css-loader?sourceMap",
18+
use: {
19+
loader: "css-loader",
20+
options: {
21+
sourceMap: true
22+
}
23+
},
1924
publicPath: "../"
2025
}) },
2126
{ test: /\.png$/, loader: "file-loader" }

0 commit comments

Comments
 (0)