You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On trying vite build for my vue project in my build.js file i get ["__file","path to my vue componenents"] which is not required please help how to remove that from my build.also referred #11191 this issue which is same as this,tried the solution they gave but it is not working as expected please help.
the solution i tried(not working):
'process.env.NODE_ENV': JSON.stringify('production') added this under definConfig's define object in vite.config.ts .
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
Related plugins
plugin-vue
plugin-vue-jsx
Describe the bug
On trying vite build for my vue project in my build.js file i get ["__file","path to my vue componenents"] which is not required please help how to remove that from my build.also referred #11191 this issue which is same as this,tried the solution they gave but it is not working as expected please help.
the solution i tried(not working):
'process.env.NODE_ENV': JSON.stringify('production') added this under definConfig's define object in vite.config.ts .
Reproduction
no url
Steps to reproduce
No response
System Info
Used Package Manager
npm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: