Skip to content

Issue using lightningcss with Storybook #2140

Answered by astahmer
smarlhens asked this question in Q&A
Discussion options

You must be logged in to vote

the only thing needed to use lightningcss is to set lightningcss: true in your config, you don't have to update anything else


postcss is used in 2 different ways with Panda:

  1. internally for some CSS transformations using AST, this is the part that changes by using lightningcss: true
  2. externally as a distribution mechanism (@pandacss/postcss or its alias @pandacss/dev/postcss), as an alternative to the CLI, you can still use lightningcss: truewith the@pandacss/dev/postcss` plugin

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@smarlhens
Comment options

Answer selected by smarlhens
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants