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 .
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] 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
[X] plugin-vue
[X] 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