How does vue-cli3 change the reference path of a post-build file?

clipboard.png

clipboard.png

I want the path to reference static resources after packaging to be / app/xxx.js
or a relative path, but no matter how to modify publicPath, it is an absolute path. How to solve this
?

Jun.16,2022

process.env.NODE_ENV is it production ?

Menu