@chronocide/esbuild-plugin-sass
TypeScript icon, indicating that this package has built-in type declarations

0.0.9 • Public • Published

@chronocide/esbuild-plugin-sass

Sass plugin for esbuild.

Why?

esbuild-sass-plugin makes use of tea, which is a crypto scam. I do not wish to support such packages and therefore made my own.

Installation

Install using npm:

npm i @chronocide/esbuild-plugin-sass -D

Usage

import esbuild from 'esbuild';
import sass from 'esbuild-plugin-sass';

esbuild.build({
  ...
  plugins: [sass()]
});

Options

Supports most sass options.

Option Type Default
depedencies string[] []
minify boolean false
sourcemap boolean false
plugins Record<string, sass.CustomFunction<'async'>> undefined
importers (sass.NodePackageImporter | sass.Importer<'async'>)[] []
alert.ascii boolean undefined
alert.colour boolean undefined
deprecations.fatal (sass.DeprecationOrId | sass.Version)[] undefined
deprecations.future sass.DeprecationOrId[] undefined
deprecations.ignore sass.DeprecationOrId[] undefined
quiet boolean undefined
logger sass.Logger undefined
verbose boolean undefined

Readme

Keywords

none

Package Sidebar

Install

npm i @chronocide/esbuild-plugin-sass

Weekly Downloads

10

Version

0.0.9

License

GPL-3.0

Unpacked Size

49.5 kB

Total Files

6

Last publish

Collaborators

  • chronocide