vbenjs / vue-vben-admin

A modern vue admin panel built with Vue3, Shadcn UI, Vite, TypeScript, and Monorepo. It's fast!
https://www.vben.pro
MIT License
24.43k stars 6.67k forks source link

Question: how to remove the package.json data to the entry file like index.js when compiled to production #3917

Closed doraemonxxx closed 3 months ago

doraemonxxx commented 3 months ago

Noob question:

How to remove the package.json data to the entry file like index.js when compiled to production

image

Exposing this data is not ideal for a private project and repo.

doraemonxxx commented 3 months ago

Looks like this is because of the imported package.json in env.ts file

doraemonxxx commented 3 months ago

Issue resolved in my end. Thanks