Open xrayian opened 1 year ago
Found a discussion thread about this #329 . closing this now
UPDATE: THE DISCUSSION THREAD IS STALE
Leaving my solution here as well
modify your "build" script to explicitly set node to production mode
Windows
"build": "set NODE_ENV=production&& vite-ssg build",
Linux
"build": "export NODE_ENV=production && vite-ssg build",
Describe the bug
I was checking my production code in chrome dev tools and noticed that the Vue extension was enabled and showing all the details.
my
vite.config.ts
Am I doing anything wrong here?
I'm building with
npm run dev
which runsnpx vue-tsc --noEmit && vite-ssg build
Reproduction
will add
System Info
Used Package Manager
npm
Validations