@zero-scripts/extension.webpack-css
v0.5.2
Published
Extract, minify and add vendor prefixes for CSS files.
Downloads
6
Maintainers
Readme
@zero-scripts/extension.webpack-css
Extract, minify and add vendor prefixes for CSS files.
Installation
yarn
yarn add -D @zero-scripts/extension.webpack-css
npm
npm i -D @zero-scripts/extension.webpack-css
Options
| Option | Type | Default |
| :----------------: | :---------------------------------------------------------------------------------: | :-----: |
| styleLoaders
| Array<{ test: string; loader: string; exclude?: string; preprocessor?: string; }>
| []
|
Passing options
package.json
{
"devDependencies": {
"@zero-scripts/extension.webpack-css": "latest"
},
+ "zero-scripts": {
+ "extension.webpack-css": {
+ "styleLoaders": [
+ {
+ "test": "\\.astro.css",
+ "loader": "astroturf/css-loader"
+ }
+ ]
+ }
+ }
}