Open mahnunchik opened 1 year ago
This seems to be happening because sourceType: 'module'
is not set here.
https://github.com/vuejs/core/blob/fe77e2bddaa5930ad37a43fe8e6254ddb0f9c2d7/packages/compiler-core/src/transforms/transformExpression.ts#L250-L252
Description
Add support environment variables
import.meta.env.VITE_FOO
in Vue templates.Currently the code above raises the error:
Suggested solution
Just support it 😉
Alternative
No response
Additional context
Related issues:
Validations