{"library":"lwc-webpack-plugin","title":"LWC Webpack Plugin","description":"Webpack plugin for building Lightning Web Components (LWC) in any web framework project. Current stable version is 3.1.0, released on a monthly cadence. It allows you to use LWC within any web framework project that uses Webpack. Key differentiators: Provides seamless integration of LWC components with Webpack, supports TypeScript through additional Babel configuration, and allows custom module resolution via lwc.config.json or package.json. Compared to alternatives like raw LWC compiler, it automates component compilation and asset handling within the Webpack bundling process.","language":"javascript","status":"active","last_verified":"Sat Apr 25","install":{"commands":["npm install lwc-webpack-plugin"],"cli":null},"imports":["const LwcWebpackPlugin = require('lwc-webpack-plugin')","import LwcWebpackPlugin from 'lwc-webpack-plugin'","const plugin = new LwcWebpackPlugin()"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"const LwcWebpackPlugin = require('lwc-webpack-plugin')\n\nmodule.exports = {\n  plugins: [new LwcWebpackPlugin()]\n}","lang":"javascript","description":"Basic setup: require the plugin and add it to webpack plugins array with default module resolution from lwc.config.json.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}