Skip to content

Commit 23bb52d

Browse files
Update src/index.ts
Co-authored-by: Robin Malfait <malfait.robin@gmail.com>
1 parent 9c5299c commit 23bb52d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -796,7 +796,7 @@ function transformCss(ast: any, { env }: TransformerContext) {
796796
// Otherwise we let prettier re-parse the params into its custom value AST
797797
// based on postcss-value parser.
798798
try {
799-
let parser = base.parsers['css']
799+
let parser = base.parsers.css
800800
let root = parser.parse(`@import ${params};`, env.options)
801801

802802
return root.nodes[0].params

0 commit comments

Comments
 (0)