Skip to content

Commit

Permalink
fixes #18716 - make storybook work with scss
Browse files Browse the repository at this point in the history
  • Loading branch information
matanwerbner authored and dLobatog committed Feb 28, 2017
1 parent 52bae9f commit 64c8bd3
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .storybook/webpack.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
var ExtractTextPlugin = require('extract-text-webpack-plugin');
module.exports = {
module: {
loaders: [
{
test: /\.js$/,
exclude: /node_modules/,
loader: 'babel-loader'
},
{
test: /\.css$/,
loader: 'style-loader!css-loader'
},
{
test: /(\.png|\.gif)$/,
loader: 'url-loader?limit=32767'
},
{
test: /\.scss$/,
loader: 'style-loader!css-loader?sourceMap!sass-loader?sourceMap'
}
]
}
};

0 comments on commit 64c8bd3

Please sign in to comment.