tiny-sass-compiler icon indicating copy to clipboard operation
tiny-sass-compiler copied to clipboard

how to avoid fs in a browser environment

Open chenbikang opened this issue 1 year ago • 1 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.

chenbikang avatar Apr 03 '24 02:04 chenbikang

you can use less instead which is battle tested

wizardpisces avatar Apr 03 '24 09:04 wizardpisces