CSS Modules are a feature in webpack, postcss and some other parts of the bundling ecosystem which allow you to write scoped CSS. It leverages the import/require module hierarchy and does name mangling to produce CSS bundles out of stylesheets local to components, which can then be referenced in JS code.
CSS Modules are a feature in webpack, postcss and some other parts of the bundling ecosystem which allow you to write scoped CSS. It leverages the import/require module hierarchy and does name mangling to produce CSS bundles out of stylesheets local to components, which can then be referenced in JS code.
Full doc: https://github.com/css-modules/css-modules