← All repos

style-loader

Style Loader

loaderstylesheetswebpackwebpack-loader
Browse cluster: HTML Parsing & Error Tracking
437commits
103contributors
4languages

Tech stack & purpose

Style Loader is a webpack loader that injects CSS into the DOM. It is built for webpack and works in conjunction with the css-loader, allowing developers to import stylesheets directly in JavaScript files. The project offers multiple injection modes through its `injectType` option, including standard style tags, singleton tags, lazy-loaded styles, and link tags, along with various configuration options for customizing how and where styles are inserted into the page. The loader is maintained as part of the webpack ecosystem and is primarily intended for development use, with the documentation recommending the mini-css-extract-plugin for production builds.

Languages

JavaScript
94.9%
CSS
2.4%
HTML
2.2%
SCSS
0.4%

Contributors (top 30 of 103)