[vite-plugin]: adding new embedded expressions causes errors #1229
Labels
bug report 🦗
Issue is probably a bug, but it needs to be checked
needs: complete repro 🖥️
Issue need to have complete repro provided
platform: ssr 🛠️
Issue related to SSR
Environment
@linaria/core: 4.2.8
@linaria/react: 4.3.6
@linaria/vite: 4.2.9
Description
When running vite in dev mode, adding a embedded expressions into a linaria component causes an error like the following:
Restarting the server solves that issue and the embedded expressions will be evaluated correctly.
linaria+vite+issue.mov
Reproducible Demo
Stackblitz Example
The text was updated successfully, but these errors were encountered: