wizardpisces / tiny-sass-compiler

Another sass compiler write from scatch,runnable on both node and browser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how to avoid fs in a browser environment

chenbikang opened this issue · comments

I am using compile in a browser environment, but I am getting an error "_fs2. default. of is not a function". Is there a way to resolve this issue? I am using the Vue2 architecture for tiny sass compiler, which corresponds to version 0.12.2.

commented

you can use less instead which is battle tested