Replies: 2 comments
-
Has anyone encountered the same issue as me? |
Beta Was this translation helpful? Give feedback.
0 replies
-
This is expected, see vitejs/vite#13387 (comment) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Issue Description
I'm using 'vite-plugin-vue-markdown' to parse the Markdown file (Which has the contents '`import.meta.env`') as a Vue component.
When I use 'yarn dev' to run the dev server, the project can run and the page can be displayed normally.
But when I use 'yarn build' to build the project, Vite reports the Error:
Reproduce
yarn
yarn dev
yarn build
Beta Was this translation helpful? Give feedback.
All reactions