Skip to content

Commit

Permalink
Enable CSS source maps
Browse files Browse the repository at this point in the history
For development
  • Loading branch information
epilande committed Jan 30, 2016
1 parent 6979752 commit 2810bce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webpack.config.development.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ config.module.loaders.push({
test: /^((?!\.module).)*\.css$/,
loaders: [
'style-loader',
'css-loader'
'css-loader?sourceMap'
]
}, {
test: /\.module\.css$/,
loaders: [
'style-loader',
'css-loader?modules&importLoaders=1&localIdentName=[name]__[local]___[hash:base64:5]!'
'css-loader?modules&sourceMap&importLoaders=1&localIdentName=[name]__[local]___[hash:base64:5]!'
]
});

Expand Down

0 comments on commit 2810bce

Please sign in to comment.