postcss-modules icon indicating copy to clipboard operation
postcss-modules copied to clipboard

PostCSS plugin to use CSS Modules everywhere

Results 41 postcss-modules issues
Sort by recently updated
recently updated
newest added

Given the following code: ```scss :global { /* * Add the correct display in all browsers. */ summary { display: list-item; } } ``` Sass compiles this into: ```scss :global...

This PR fixes `composes from '...'` not working on windows. The tests are already covered so I just enabled github actions with Windows. refs https://github.com/css-modules/css-modules-loader-core/issues/16, https://github.com/vitejs/vite/issues/3092

This PR updates babel to v7. Also sets @babel/preset-env target to node10 which is the minimal supported version of this package (and postcss).

It's not clear to me how currently should types be declared for CSS modules. For the context, I'm using Gatsby v3 with TypeScript and an example import would be: ```...

HI, Q1 I want to use postcss-modules compile my css files, but out of the css generated duplicate. **1. common.css** `.row { width : 100%; height : 100px; margin :...

Hello we have a use case that we want to use this plugin in the browser and bundle it via webpack. Currently the `FileSystemLoader` is being use as a fallback...

When using `scopeBehaviour: 'global'` for below css rule: ``` css body:global(.noselect){ user-select:none } ``` The `:global` part is not removed, which result in invalid css selector.

The resolve method should be given the filename that triggered the resolve, this is necessary especially for nested imports where the file could be located somewhere else. ```js postcssModules({ resolve...

I use postcss-modules to generate JSON mapping file that I'm using on the server (in PHP). But I also wanted to use CSS modules directly in my JS files like...