{"library":"rollup-config-webcomponent","title":"rollup-config-webcomponent","description":"Rollup configuration preset for building web components with lit-element. Version 0.3.4 provides an environment-driven config that supports TypeScript, SCSS/Sass, PostCSS, Terser minification, and Babel transpilation. It uses peer dependencies rollup 2.x and tslib 2.0.x. Key differentiators: single import for all plugins and configs, environment flags for bundle/compress/ECMAScript target, and built-in lit-element integration. Suitable for monorepos with multiple packages. Note: not extensively tested in IE11, and uses deprecated 'isAsset' check (no impact).","language":"javascript","status":"active","last_verified":"Mon Apr 27","install":{"commands":["npm install rollup-config-webcomponent"],"cli":null},"imports":["import createConfig from 'rollup-config-webcomponent'","import { createConfig } from 'rollup-config-webcomponent'","import { config } from 'rollup-config-webcomponent'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"// rollup.config.js\nimport createConfig from 'rollup-config-webcomponent';\n\nexport default createConfig({\n  name: 'my-element',\n  input: './src/index.ts',\n});","lang":"typescript","description":"Shows minimal usage: import the factory function and pass options (name, input) to generate a Rollup config.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}