@zero-scripts/extension.webpack-css
TypeScript icon, indicating that this package has built-in type declarations

0.5.2 • Public • Published

@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"
+       }
+      ]
+    }
+  }
}

Main documentation

Package Sidebar

Install

npm i @zero-scripts/extension.webpack-css

Weekly Downloads

0

Version

0.5.2

License

MIT

Unpacked Size

15.6 kB

Total Files

15

Last publish

Collaborators

  • artemir