mirror of
https://github.com/react-webpack-generators/generator-react-webpack.git
synced 2025-12-08 18:01:59 +00:00
Merge pull request #144 from cmil/webpack-stylus-fix
Fix stylus loader in webpack.dist.config
This commit is contained in:
commit
e811ad8de0
@ -68,7 +68,7 @@ module.exports = {
|
|||||||
loader: 'style-loader!css-loader!less-loader'
|
loader: 'style-loader!css-loader!less-loader'
|
||||||
},<% } %><% if (stylesLanguage === 'stylus') { %> {
|
},<% } %><% if (stylesLanguage === 'stylus') { %> {
|
||||||
test: /\.styl/,
|
test: /\.styl/,
|
||||||
loader: 'style-loader!stylus-loader!less-loader'
|
loader: 'style-loader!css-loader!stylus-loader'
|
||||||
},<% } %> {
|
},<% } %> {
|
||||||
test: /\.(png|jpg|woff|woff2)$/,
|
test: /\.(png|jpg|woff|woff2)$/,
|
||||||
loader: 'url-loader?limit=8192'
|
loader: 'url-loader?limit=8192'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user