{"library":"webpack-target-webextension","type":"library","category":null,"description":"A Webpack 5 plugin (also works with Rspack) that provides presets and fixes for building Web Extensions (Chrome, Firefox). It enables code splitting via dynamic import() and classic loaders, Hot Module Reload, and correct public path handling. Current stable version is 2.1.3, released under the MIT license. Key differentiators: supports Manifest V2 and V3, works with both webpack and rspack, and includes built-in chunk loaders for content scripts and background scripts. Note: webpack 4 users must use version 0.2.1.","language":"javascript","status":"active","version":"2.1.3","tags":["javascript","webpack","webextension","extension","target","dynamic-import","code-splitting","chrome","firefox"],"last_verified":"Sat Apr 25","install":[{"cmd":"npm install webpack-target-webextension","imports":["import WebExtension from 'webpack-target-webextension'","const WebExtension = require('webpack-target-webextension')","import WebExtension from 'webpack-target-webextension'"]},{"cmd":"yarn add webpack-target-webextension","imports":[]},{"cmd":"pnpm add webpack-target-webextension","imports":[]}],"homepage":"https://webextension-webpack-plugin.org","github":"https://github.com/crimx/webpack-target-webextension","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/webpack-target-webextension","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}