https://github.com/denoplayground/esbuild-plugin-sass
A SASS Plugin Module for the Deno version of ESBuild.
https://github.com/denoplayground/esbuild-plugin-sass
deno esbuild esbuild-plugin sass scss
Last synced: about 1 month ago
JSON representation
A SASS Plugin Module for the Deno version of ESBuild.
- Host: GitHub
- URL: https://github.com/denoplayground/esbuild-plugin-sass
- Owner: DenoPlayground
- License: gpl-2.0
- Created: 2024-01-10T10:45:26.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-11T10:35:26.000Z (almost 2 years ago)
- Last Synced: 2025-03-15T22:13:37.101Z (over 1 year ago)
- Topics: deno, esbuild, esbuild-plugin, sass, scss
- Language: TypeScript
- Homepage: https://deno.land/x/esbuild_plugin_sass
- Size: 44.9 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SASS Plugin Module for Deno ESBuild
## Why?
Why does the plugin exist in the first place? I am currently working on a simple tech stack for Deno frontend development. I use ESBuild as a transpiler and bundler for TypeScript and HTML. Currently there was no easy way for me to convert SCSS (SASS) files to CSS without using another tool. That's why I wrote this plugin to simplify this process.
This plugin can be easily imported and loaded as a module for ESBuild.
## Usage:
```ts
import sassPlugin from 'https://deno.land/x/esbuild_plugin_sass/mod.ts';
await esbuild.build({
...
plugins: [
sassPlugin()
],
});
esbuild.stop()
```