The CSS-loader interprets @import and URL() like import/require() and will resolve them. Add the plugin to your webpack config. Run webpack via your preferred method. Allows to enable/disable handling the CSS functions URL and image-set. If set to false, CSS-loader will not parse any paths specified in URL or image-set. A function can also be passed to control this behavior dynamically based on the path to the asset. Starting with version 4.0.0, absolute paths are parsed based on the server root. Using local value requires you to specify :global classes. Using global value requires you to specify :local classes. Using pure value requires selectors must contain at least one local class or id. Styles can be locally scoped to avoid globally scoping styles. The syntax :local(.className) can be used to declare className in the local scope. The local identifiers are exported by the module.

Features

  • Styles can be locally scoped to avoid globally scoping styles
  • Enable CSS Modules features
  • Allows auto enable CSS modules/ICSS based on filename when modules option is object
  • Allows set different values for the mode option based on a filename
  • Configure the generated local ident name
  • Redefine basic loader context for local ident name

Project Samples

Project Activity

See All Activity >

Categories

Web Development

License

MIT License

Follow css-loader

css-loader Web Site

Other Useful Business Software
Turn traffic into pipeline and prospects into customers Icon
Turn traffic into pipeline and prospects into customers

For account executives and sales engineers looking for a solution to manage their insights and sales data

Docket is an AI-powered sales enablement platform designed to unify go-to-market (GTM) data through its proprietary Sales Knowledge Lake™ and activate it with intelligent AI agents. The platform helps marketing teams increase pipeline generation by 15% by engaging website visitors in human-like conversations and qualifying leads. For sales teams, Docket improves seller efficiency by 33% by providing instant product knowledge, retrieving collateral, and creating personalized documents. Built for GTM teams, Docket integrates with over 100 tools across the revenue tech stack and offers enterprise-grade security with SOC 2 Type II, GDPR, and ISO 27001 compliance. Customers report improved win rates, shorter sales cycles, and dramatically reduced response times. Docket’s scalable, accurate, and fast AI agents deliver reliable answers with confidence scores, empowering teams to close deals faster.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of css-loader!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Web Development Software

Registered

2022-06-16