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.

/webpack-css-concat-plugin/

    Package Sidebar

    Install

    npm i webpack-css-concat-plugin

    Weekly Downloads

    1

    Version

    0.0.0

    License

    Beerware

    Last publish

    Collaborators

    • adierkens