mirror of
https://github.com/wassname/generator-react-webpack.git
synced 2026-09-09 11:22:44 +08:00
@@ -63,7 +63,7 @@ module.exports = {
|
||||
test: /\.css$/,
|
||||
loader: 'style-loader!css-loader'
|
||||
}, {
|
||||
test: /\.(png|jpg)$/,
|
||||
test: /\.(png|jpg|woff|woff2)$/,
|
||||
loader: 'url-loader?limit=8192'
|
||||
}]
|
||||
},
|
||||
|
||||
@@ -70,7 +70,7 @@ module.exports = {
|
||||
test: /\.styl/,
|
||||
loader: 'style-loader!stylus-loader!less-loader'
|
||||
},<% } %> {
|
||||
test: /\.(png|jpg)$/,
|
||||
test: /\.(png|jpg|woff|woff2)$/,
|
||||
loader: 'url-loader?limit=8192'
|
||||
}]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user