css-treeshaking-loader

1.1.1 • Public • Published

css-treeshaking-loader

a webpack loader to shake unused css code


how to use

npm install css-treeshaking-loader -D

config it in your webpack config file

const webpack = require("webpack");
const CssTreeShakingPlugin = require("css-treeshaking-loader")

module.exports = {
  plugins: [
    new CssTreeShakingPlugin({}),
    ...
  ]
};

Package Sidebar

Install

npm i css-treeshaking-loader

Weekly Downloads

1

Version

1.1.1

License

MIT

Last publish

Collaborators

  • lin-xi