sync transform
#720
-
Is there a way to accomplish |
Beta Was this translation helpful? Give feedback.
Answered by
mischnic
Apr 18, 2024
Replies: 1 comment
-
On https://lightningcss.dev/docs.html, the first example is indeed a synchronous import { transform } from 'lightningcss';
let { code, map } = transform({
filename: 'style.css',
code: Buffer.from('.foo { color: red }'),
minify: true,
sourceMap: true
}); |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
o-az
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On https://lightningcss.dev/docs.html, the first example is indeed a synchronous
transform
?