egoist / egoist/tsup

Scss support with esbuild's sassPlugin

Open
#980 1 comment 11 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
11.3k
Forks
275
PR merge metrics
No merged PRs in 30d

Description

I am trying to use styleInject property in tsup's config. The problem is that it seems not to work due to the sass plugin for esbuild. The plugin generates an index.css file with all of the css contained in the scss files.
For some reason though, the styleInject may run after the plugin's compliations which causes the styleInject to not have any effect.

The plugin's npm package is called `esbuild-sass-plugin`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.