webpack-css-concat-plugin

0.0.0 • Public • Published

webpack-css-concat-plugin

A webpack plugin to concat all css files in your bundle (and any dependent ones)

Usage

webpack.config.js
const CssConcatPlugin = require('webpack-css-concat-plugin');
 
module.exports = {
    // The rest of your webpack config
 
    plugins: [
        new CssConcatPlugin({
 
            // The filename for the emitted CSS file
            filename: String?,
 
            // Any additional modules to include in the CSS file.
            modules: [ String ] ?
        })
    ]
}

TODO

  • Dynamically determine the styles/modules to include based on the dependency tree.

Package Sidebar

Install

npm i webpack-css-concat-plugin

Weekly Downloads

2

Version

0.0.0

License

Beerware

Last publish

Collaborators

  • adierkens