Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fayismahmood/sassEs
https://github.com/fayismahmood/sassEs
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/fayismahmood/sassEs
- Owner: fayismahmood
- Created: 2021-01-14T15:08:30.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-03-18T01:55:16.000Z (over 2 years ago)
- Last Synced: 2024-05-19T00:43:03.073Z (6 months ago)
- Language: JavaScript
- Size: 6.84 KB
- Stars: 8
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-esbuild - essass
README
# sassEs
Sass plugin for [esbuild](https://esbuild.github.io/)
## Usage
Install the package using
```console
$ npm i essass
or
$ yarn add essass
```Import the package to esbuild bundle.js and use as plugin
```javascript
let sassEs = require("essass");
require("esbuild")
.build({
// ...
plugins: [sassEs],
// ...
})
.catch(() => process.exit(1));
```### Import Sass/SCSS files
Simply add Sass files using import
```javascript
import "./style.scss";
// ...
```