named.css-webpack

0.1.1 • Public • Published

Named.css Webpack Plugin

using named.css as a webpack plugin

npm npm GitHub stars license

[TOC]

Installation

npm i -D named.css-webpack

Usage

in your webpack.config.js file just add the plugin

const NamedCSS = require('named.css-webpack')
 
const config = {
  ...,
  plugins: [
    ...,
    new NamedCSS('ncss-'), // prefix ('ncss-') is not required
    ...,
  ]
};
 
module.exports = config;

** It's not production ready yet**

but if you liked it help me make it stable and ready ;)

Package Sidebar

Install

npm i named.css-webpack

Weekly Downloads

5

Version

0.1.1

License

MIT

Last publish

Collaborators

  • ardalanamini