compiled icon indicating copy to clipboard operation
compiled copied to clipboard

Mixins do not work if the required API is not already imported

Open pancaspe87 opened this issue 3 years ago • 0 comments

Describe the bug When creating a story that imports CSS mixins from an external file, story is not created unless we also import css

To Reproduce Steps to reproduce the behavior:

  1. Run project locally
  2. Go to 'examples/stories/styled-string.tsx'
  3. Remove csstext-transform: uppercase; from the import
  4. Remove css from ArrayUse
  5. Story doesn't work anymore

Expected behavior Story should be created

Screenshots image

image

pancaspe87 avatar Aug 06 '21 03:08 pancaspe87