All Projects β†’ catdad β†’ css-raw-loader

catdad / css-raw-loader

Licence: other
🌁 CSS Raw loader module for Webpack

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to css-raw-loader

Webpack.js.org
Repository for webpack documentation and more!
Stars: ✭ 2,049 (+15661.54%)
Mutual labels:  webpack-loader
Svg Url Loader
A webpack loader which loads SVG file as utf-8 encoded DataUrl string.
Stars: ✭ 217 (+1569.23%)
Mutual labels:  webpack-loader
jsx-compress-loader
βš›οΈJSX optimisation loader to reduce size of React application
Stars: ✭ 40 (+207.69%)
Mutual labels:  webpack-loader
Workerize Loader
πŸ—οΈ Automatically move a module into a Web Worker (Webpack loader)
Stars: ✭ 2,135 (+16323.08%)
Mutual labels:  webpack-loader
String Replace Loader
Replace loader for Webpack
Stars: ✭ 205 (+1476.92%)
Mutual labels:  webpack-loader
One Loader
Single-file components for React
Stars: ✭ 233 (+1692.31%)
Mutual labels:  webpack-loader
Webfonts Loader
Make an icon font from SVGs!
Stars: ✭ 153 (+1076.92%)
Mutual labels:  webpack-loader
webpack-demos
webpack小练习
Stars: ✭ 17 (+30.77%)
Mutual labels:  webpack-loader
Exports Loader
Exports Loader
Stars: ✭ 205 (+1476.92%)
Mutual labels:  webpack-loader
gzip-loader
[DEPRECATED] gzip loader module for webpack
Stars: ✭ 15 (+15.38%)
Mutual labels:  webpack-loader
Css Modules Typescript Loader
Webpack loader to create TypeScript declarations for CSS Modules
Stars: ✭ 172 (+1223.08%)
Mutual labels:  webpack-loader
Angular Router Loader
A Webpack loader that enables string-based module loading with the Angular Router
Stars: ✭ 194 (+1392.31%)
Mutual labels:  webpack-loader
Vue Template Loader
Vue.js 2.0 template loader for webpack
Stars: ✭ 253 (+1846.15%)
Mutual labels:  webpack-loader
Pug As Jsx Loader
Stars: ✭ 168 (+1192.31%)
Mutual labels:  webpack-loader
image-minimizer-webpack-plugin
Webpack loader and plugin to compress images using imagemin
Stars: ✭ 180 (+1284.62%)
Mutual labels:  webpack-loader
Rust Native Wasm Loader
Stars: ✭ 156 (+1100%)
Mutual labels:  webpack-loader
Frontmatter Markdown Loader
πŸ“ Webpack Loader for: FrontMatter (.md) -> HTML + Attributes (+ React/Vue Component)
Stars: ✭ 228 (+1653.85%)
Mutual labels:  webpack-loader
fengari-loader
Webpack loader for fengari
Stars: ✭ 27 (+107.69%)
Mutual labels:  webpack-loader
vue-hot-reload-loader
Enable hot module replacement (HMR) on your Vue components
Stars: ✭ 20 (+53.85%)
Mutual labels:  webpack-loader
sizeof-loader
Webpack loader that works like url-loader (or file-loader) but with extracted information such as image dimensions and file-size.
Stars: ✭ 20 (+53.85%)
Mutual labels:  webpack-loader

CSS Raw loader for Webpack

Downloads Version ISC License

About

This loader is based on the original CSS loader and the raw loader. A lot of the credit goes to @sokra. I am just enabling my own needs.

It is intended to allow developers to write CSS and use Webpack without having Webpack resolve imports and image URLs from the CSS code. It will import exactly the CSS code that you wrote. It also plays nice with Less, Sass, and the ExtractTextPlugin. It will automatically produce sourcemaps for dev builds and minify for production builds.

Installation

npm install css-raw-loader

Usage

module: {
    loaders: [
        { test: /\.less$/, loader: 'style-loader!css-raw-loader!less-loader' },
        { test: /\.css$/, loader: 'style-loader!css-raw-loader' }
    ]
}

License

MIT

Analytics

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].