Closed avi12 closed 2 years ago
I need to specify styles in SCSS like so:
import { defineManifest } from "@crxjs/vite-plugin"; export default defineManifest({ content_scripts: [ { matches: ["domain"], js: ["src/content.ts"], css: ["src/content.scss"] } ] });
Except, Vite won't process src/content.scss into build/src/content.css
src/content.scss
build/src/content.css
Currently crxjs does not support that feature, instead you could add this at the beginning of content.ts
crxjs
content.ts
import 'path/to/content.scss';
I need to specify styles in SCSS like so:
Except, Vite won't process
src/content.scss
intobuild/src/content.css