{"library":"webpack-closure-compiler","type":"library","category":null,"description":"A Webpack plugin that integrates Google Closure Compiler for advanced JavaScript optimization, including dead code elimination, function inlining, and tree-shaking for AMD, CommonJS, and ES2015 modules. The current stable version is 2.1.6, with sporadic releases. It is one of the few plugins to offer Closure Compiler's ADVANCED mode optimizations directly in Webpack, producing smaller bundles than UglifyJS. It supports both Java-based and pure JavaScript (jsCompiler) modes, with concurrency options for parallel compilation. Maintained as open-source, but note limited activity and no recent major updates.","language":"javascript","status":"active","version":"2.1.6","tags":["javascript","webpack","closure","compiler","build","optimize","dead","code","plugin"],"last_verified":"Wed May 27","install":[{"cmd":"npm install webpack-closure-compiler","imports":["const ClosureCompilerPlugin = require('webpack-closure-compiler');","const { ClosureCompilerPlugin } = require('webpack-closure-compiler');","const ClosureCompilerPlugin = require('webpack-closure-compiler');\n// In webpack.config.js:\nplugins: [ new ClosureCompilerPlugin({...}) ]"]},{"cmd":"yarn add webpack-closure-compiler","imports":[]},{"cmd":"pnpm add webpack-closure-compiler","imports":[]}],"homepage":null,"github":"https://github.com/roman01la/webpack-closure-compiler","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/webpack-closure-compiler","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-closure-compiler/compatibility"}}