css-loader
css-loader copied to clipboard
CSS Loader
### Modification Proposal I suggest changing localIdentHashDigestLength from 20 to 12. This is a 40% reduction in the size of class names (which are high entropy/non-compressible). 100k items in 2^(12\*3/4\*8)...
### Bug report When using pnpm's default isolated dependencies installation mode, dependencies are not necessarily reachable from the originating stylesheet's directory, and instead need to be resolved from _where_ they...
### Bug report I'm trying to build my app which contains a scss file like this: ```scss /*! /* webpackIgnore: true */ @import url("/assets/themes.css"); @import "~normalize.css"; // ... ``` I...
This PR contains a: - [ ] **bugfix** - [ ] new **feature** - [ ] **code refactor** - [ ] **test update** - [ ] **typo fix** - [x]...
### Feature Proposal Having type declaration for the loader and its supported options would allow projects using typescripts (either because they use `webpack.config.ts` or because they use it to check...
https://github.com/web-infra-dev/rsbuild/issues/5405#issue-3139609503 ### Version ```sh System: OS: Linux 6.1 Debian GNU/Linux 11 (bullseye) 11 (bullseye) CPU: (2) x64 AMD EPYC Memory: 1.50 GB / 4.14 GB Container: Yes Shell: Unknown npmPackages:...
This PR contains a: - [ ] **bugfix** - [ ] new **feature** - [ ] **code refactor** - [ ] **test update** - [ ] **typo fix** - [...
This PR contains a: - [x] **bugfix** - [ ] new **feature** - [ ] **code refactor** - [ ] **test update** - [ ] **typo fix** - [ ]...
### Bug report ### Actual Behavior generated `src_render_js.js`: source `render.js`: ```js import * as styles from './space folder/render.module.css'; export function render() { const el = document.createElement('div'); el.className = styles.text; //...
### Feature Proposal add a new parameter of type disableTildePrefix and make it default to false. This won't be a critical change. I would be happy to do a PR...