Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

🖖 Webpack plugin to remove unused css and duplicated css rules. Remove unused css in nuxtjs, gatsbyjs and more...

License

NotificationsYou must be signed in to change notification settings

do-web/css-cleanup-webpack-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build StatuslicenseDownloads in weeknpm version

css-cleanup-webpack-plugin

Remove unused css and duplicated css rules.It detects all unused css rules by looking into all assets on the webpack output dir.

Requirements

This module requires a minimum of Node v6.9.0 and Webpack v4.0.0.

Getting Started

To begin, you'll need to installcss-cleanup-webpack-plugin:

$npm install css-cleanup-webpack-plugin rm-unused-css --save-dev

Then add the plugin to yourwebpack config. For example:

webpack.config.js

constCssCleanupPlugin=require('css-cleanup-webpack-plugin');module.exports={plugins:[newCssCleanupPlugin()]}

And runwebpack via your preferred method.

Donate

Donate with Bitcoin

About

🖖 Webpack plugin to remove unused css and duplicated css rules. Remove unused css in nuxtjs, gatsbyjs and more...

Resources

License

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp