43081j / postcss-lit

PostCSS syntax for extracting CSS from template literals inside JS/TS files
84 stars 6 forks source link

Feat/support import attributes with babel #54

Open JulianCataldo opened 9 months ago

JulianCataldo commented 9 months ago

References:

https://babeljs.io/docs/babel-plugin-syntax-import-attributes https://www.npmjs.com/package/rollup-plugin-css-modules https://www.npmjs.com/package/vite-plugin-standard-css-modules

Usage:

import myElementStyles from './my-element.css' with { type: 'css' };