0.1.1 • Published 6 years ago
named.css-webpack v0.1.1
Named.css Webpack Plugin
using named.css as a webpack plugin
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 ;)