Skip to content

Commit

Permalink
Update webpack configs as required by the updated css-loader
Browse files Browse the repository at this point in the history
  • Loading branch information
azangru committed Jun 20, 2019
1 parent 30f7772 commit c4f7e13
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions src/ensembl/.storybook/webpack.config.js
Expand Up @@ -34,8 +34,9 @@ module.exports = ({ config }) => {
loader: 'css-loader',
options: {
sourceMap: true,
modules: true,
localIdentName: '[local]__[name]__[hash:base64:5]'
modules: {
localIdentName: '[local]__[name]__[hash:base64:5]'
}
}
},
{
Expand Down
5 changes: 3 additions & 2 deletions src/ensembl/webpack/webpack.common.js
Expand Up @@ -58,8 +58,9 @@ module.exports = (isDev, moduleRules, plugins) => ({
loader: 'css-loader',
options: {
sourceMap: true,
modules: true,
localIdentName: '[local]__[name]__[hash:base64:5]'
modules: {
localIdentName: '[local]__[name]__[hash:base64:5]'
},
}
},
{
Expand Down

0 comments on commit c4f7e13

Please sign in to comment.