Skip to content

Commit

Permalink
make css working with storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
letranloc committed Sep 23, 2017
1 parent e09610a commit 4b25e9f
Show file tree
Hide file tree
Showing 4 changed files with 11,232 additions and 22 deletions.
15 changes: 13 additions & 2 deletions .storybook/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,19 @@ module.exports = {
*/
{
test: /\.css$/,
loaders: ['style-loader', 'css-loader', 'postcss-loader'],
include: path.resolve(__dirname, '../'),
use: [
{
loader: 'style-loader',
},
{
loader: 'css-loader',
options: {
modules: true,
importLoaders: 1,
localIdentName: 'draftJsKatexPlugin__[local]__[hash:base64:5]',
},
},
],
},
],
/*
Expand Down
Loading

0 comments on commit 4b25e9f

Please sign in to comment.