{"library":"closure-webpack-plugin","type":"library","category":null,"description":"A webpack plugin integrating Google Closure Compiler and Closure Library for JavaScript optimization and transpilation. Version 2.6.1 (webpack 4 branch) requires google-closure-compiler >=20200830.0.0 and webpack 4.x. Offers three platforms (native, Java, JavaScript) and two modes (STANDARD for minification/transpilation, AGGRESSIVE_BUNDLE for advanced module hoisting and optimization). Unlike TerserPlugin or Babel, it provides full Closure Compiler optimizations including dead code elimination, type checking, and cross-module analysis. Not compatible with webpack 5.","language":"javascript","status":"active","version":"2.6.1","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install closure-webpack-plugin","imports":["const ClosurePlugin = require('closure-webpack-plugin');","import ClosurePlugin = require('closure-webpack-plugin');","const { ClosurePlugin } = require('closure-webpack-plugin');"]},{"cmd":"yarn add closure-webpack-plugin","imports":[]},{"cmd":"pnpm add closure-webpack-plugin","imports":[]}],"homepage":null,"github":"https://github.com/webpack-contrib/closure-webpack-plugin","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/closure-webpack-plugin","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/closure-webpack-plugin/compatibility"}}