Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 476 Bytes

README.md

File metadata and controls

35 lines (26 loc) · 476 Bytes

sassEs

Sass plugin for esbuild

Usage

Install the package using

$ npm i essass
or
$ yarn add essass

Import the package to esbuild bundle.js and use as plugin

let sassEs = require("essass");
require("esbuild")
.build({
	// ...
	plugins: [sassEs],
	// ...
})
.catch(() =>  process.exit(1));

Import Sass/SCSS files

Simply add Sass files using import

import  "./style.scss";
// ...