css-loader icon indicating copy to clipboard operation
css-loader copied to clipboard

add option to disable detect tilde prefix

Open cany748 opened this issue 8 months ago • 5 comments

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 for it.

Feature Use Case

I need to turn off the IS_MODULE_REQUEST regular expression, currently this can only be done with the patch

Please paste the results of npx webpack-cli info here, and mention other relevant information

System: OS: Linux 5.15 Ubuntu 22.04.5 LTS 22.04.5 LTS (Jammy Jellyfish) CPU: (20) x64 13th Gen Intel(R) Core(TM) i5-13600K Memory: 11.38 GB / 15.51 GB Binaries: Node: 22.1.0 - /run/user/0/fnm_multishells/6275_1740567187202/bin/node npm: 10.7.0 - /run/user/0/fnm_multishells/6275_1740567187202/bin/npm pnpm: 9.15.4 - /run/user/0/fnm_multishells/6275_1740567187202/bin/pnpm Packages: sass-loader: ^16.0.5 => 16.0.5

cany748 avatar Feb 26 '25 11:02 cany748