We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
scss
1.45.0
Describe the bug
If user use sass < 1.45.0. CSS transform will throw error
sass
The reason is that we are using sass.compile, which is introduced in version 1.45.0 (Reference).
sass.compile
To Reproduce
npm i sass@1.34.1
node
const sass = require('sass')
console.log(sass.compile)
undefined
Expected behavior We have 2 options:
I think we should go with option 2. Something like this
const compiler = sass.compile || sass.renderSync
Additional context
Issue from here #153 (reply in thread)
The text was updated successfully, but these errors were encountered:
cc: @ntt261298
Sorry, something went wrong.
Fixed in #167
ntt261298
Successfully merging a pull request may close this issue.
Describe the bug
If user use
sass
<1.45.0
. CSS transform will throw errorThe reason is that we are using
sass.compile
, which is introduced in version1.45.0
(Reference).To Reproduce
npm i sass@1.34.1
node
const sass = require('sass')
console.log(sass.compile)
=> (undefined
)Expected behavior
We have 2 options:
sass
>=1.45.0
I think we should go with option 2. Something like this
Additional context
Issue from here #153 (reply in thread)
The text was updated successfully, but these errors were encountered: