{"library":"webpack-remove-empty-scripts","type":"library","category":null,"description":"webpack-remove-empty-scripts is a Webpack plugin designed to eliminate superfluous empty JavaScript files generated by Webpack 5, particularly when an `entry` point consists solely of style assets (e.g., SCSS or CSS files). This issue frequently occurs even when `mini-css-extract-plugin` correctly processes and extracts styles into dedicated CSS files, leaving behind an empty `.js` file for each style entry. The plugin automatically detects and removes these redundant outputs, ensuring a cleaner and more efficient build directory. The current stable version is `1.1.1`, and the project demonstrates an active maintenance cadence with minor releases and patches occurring every few months. Its primary utility lies in streamlining the build output for Webpack 5 projects that heavily utilize CSS preprocessors and separate style extraction.","language":"javascript","status":"active","version":"1.1.1","tags":["javascript","webpack","plugin","remove","empty","script","entry","style","scss","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install webpack-remove-empty-scripts","imports":["import RemoveEmptyScriptsPlugin from 'webpack-remove-empty-scripts';","import RemoveEmptyScriptsPlugin from 'webpack-remove-empty-scripts';\n// Then use: RemoveEmptyScriptsPlugin.STAGE_AFTER_PROCESS_PLUGINS","import type { RemoveEmptyScriptsPluginOptions } from 'webpack-remove-empty-scripts';"]},{"cmd":"yarn add webpack-remove-empty-scripts","imports":[]},{"cmd":"pnpm add webpack-remove-empty-scripts","imports":[]}],"homepage":null,"github":"https://github.com/webdiscus/webpack-remove-empty-scripts","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/webpack-remove-empty-scripts","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/webpack-remove-empty-scripts/compatibility"}}