Skip to content

Commit

Permalink
fix: missing css source map at dev environment (#460)
Browse files Browse the repository at this point in the history
sakokazuki authored and ulivz committed May 17, 2018

Verified

This commit was signed with the committer’s verified signature.
vjik Sergei Predvoditelev
1 parent 1f18a2c commit d3025e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/webpack/createBaseConfig.js
Original file line number Diff line number Diff line change
@@ -197,7 +197,8 @@ module.exports = function createBaseConfig ({
.options({
modules,
localIdentName: `[local]_[hash:base64:8]`,
importLoaders: 1
importLoaders: 1,
sourceMap: !isProd
})

rule.use('postcss-loader').loader('postcss-loader').options(Object.assign({

0 comments on commit d3025e5

Please sign in to comment.