Cannot read properties of null (reading 'declarations') #1262
Labels
bug report 🦗
Issue is probably a bug, but it needs to be checked
bundler: webpack 📦
Issue is related to webpack bundler
needs: complete repro 🖥️
Issue need to have complete repro provided
Environment
Description
When migrating my codebase to the latest Linaria, I encounter this error:
I was able to narrow it down to one function, which I've included in my repro below. I hope it makes sense to you and that you'll be able to fix it.
Reproducible Demo
https://stackblitz.com/edit/linaria-bug-4yqklk?file=src%2Futils%2Findex.ts
The text was updated successfully, but these errors were encountered: