{"library":"rollup-plugin-lit-html-style","title":"rollup-plugin-lit-html-style","description":"Rollup plugin that extracts SCSS/SASS styles and embeds them as CSSResult for lit-html/lit-element components. Currently at version 0.3.3. This plugin replaces node-sass with sass in v3, and changed the default template export from TemplateResult to CSSResult in v2. It supports custom compilers and processors, but note that the active version (0.3.3) is old and the author recommends using newer alternatives like @chialab/postcss-lit. The plugin is in maintenance mode with infrequent releases.","language":"javascript","status":"maintenance","last_verified":"Mon Apr 27","install":{"commands":["npm install rollup-plugin-lit-html-style"],"cli":null},"imports":["import style from './test.scss'","import stylePlugin from 'rollup-plugin-lit-html-style'","import stylePlugin from 'rollup-plugin-lit-html-style';\nplugins: [ stylePlugin({ compress: false }) ]"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"// rollup.config.js\nimport litHtmlStyle from 'rollup-plugin-lit-html-style';\n\nexport default {\n  input: 'src/index.js',\n  output: {\n    dir: 'dist',\n    format: 'esm'\n  },\n  plugins: [\n    litHtmlStyle({\n      esmodules: true,\n      compress: true,\n      include: ['**/*.scss']\n    })\n  ]\n};","lang":"javascript","description":"Configure Rollup to process .scss files and embed them as CSSResult in lit-html components.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}