Esbuild Plugin Lightning CSS • A CSS loader plugin for esbuild that uses Lightning CSS as preprocessor.
Install
npm i @chialab/esbuild-plugin-lightningcss -D
yarn add @chialab/esbuild-plugin-lightningcss -D
Usage
import esbuild from 'esbuild';
import lightningcssPlugin from '@chialab/esbuild-plugin-lightningcss';
await esbuild.build({
plugins: [
lightningcssPlugin(),
],
});
License
esbuild-plugin-lightningcss is released under the MIT license.