Skip to content

Commit

Permalink
Update css-loader & related packages
Browse files Browse the repository at this point in the history
Switched to a fork for the babel css module transform since upstream is
slow and not compatible with the latest css-loader anymore. See this
issue for details: gajus/babel-plugin-react-css-modules#291
  • Loading branch information
ThiefMaster committed Nov 25, 2020
1 parent 723a92a commit 392ad7e
Show file tree
Hide file tree
Showing 4 changed files with 466 additions and 715 deletions.
3 changes: 2 additions & 1 deletion babel.config.js
Expand Up @@ -16,7 +16,7 @@ const plugins = [
'@babel/plugin-proposal-class-properties',
'lodash',
[
'react-css-modules',
'@dr.pogodin/react-css-modules',
{
exclude: 'node_modules',
context: 'indico/modules',
Expand All @@ -26,6 +26,7 @@ const plugins = [
},
},
autoResolveMultipleImports: true,
generateScopedName: '[path]___[name]__[local]___[hash:base64:5]',
},
],
'macros',
Expand Down

0 comments on commit 392ad7e

Please sign in to comment.