import a SCSS file as a CSS string using Parcel, SASS and TypeScript #6333
Unanswered
drachehavoc
asked this question in
General
Replies: 1 comment 2 replies
-
With Parcel 2, do import cssString from "bundle-text:./file.scss;" https://v2.parceljs.org/configuration/plugin-configuration/#predefined-(offical)-named-pipelines |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Sorry for the noob question, but I'm new using parcel and a need someone to "talk" 😛
I also make this same question in StackOverflow, but anyone give me attention 😭
So, her is my doubt:
Is there a way to import SCSS as CSS using Parcel Bundler + SASS + TypeScript?
I have a SCSS file called
file.scss
so I want to import it as a CSS string in TypeScript, I'm tryng something like this:
But isn't working properly.
So, i need to know, there is a way to do that?
Beta Was this translation helpful? Give feedback.
All reactions