{"library":"rollup-plugin-lwc-typescript","title":"rollup-plugin-lwc-typescript","description":"Rollup plugin to transform TypeScript files to JavaScript for Lightning Web Components (LWC). Current stable version is 1.0.1 (deprecated view; the broader ecosystem moved to lwc-services 3.x and LWC 2.x). Release cadence is low; no updates since 2020. Differentiator: specifically tailored for LWC TypeScript compilation, using the TypeScript compiler directly. Alternatives: use LWC's official webpack-based compilation or the lwc-services CLI.","language":"javascript","status":"deprecated","last_verified":"Mon Apr 27","install":{"commands":["npm install rollup-plugin-lwc-typescript"],"cli":null},"imports":["import lwcTypescript from 'rollup-plugin-lwc-typescript'","const lwcTypescript = require('rollup-plugin-lwc-typescript')","import type { TypeScriptConfig } from 'rollup-plugin-lwc-typescript'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"// rollup.config.js\nimport lwcTypescript from 'rollup-plugin-lwc-typescript';\nimport resolve from '@rollup/plugin-node-resolve';\nimport commonjs from '@rollup/plugin-commonjs';\n\nexport default {\n  input: 'src/component.ts',\n  output: {\n    file: 'dist/component.js',\n    format: 'esm'\n  },\n  plugins: [\n    resolve(),\n    commonjs(),\n    lwcTypescript()\n  ]\n};","lang":"javascript","description":"Shows basic Rollup configuration using LWC TypeScript plugin to compile a component.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}