How to change the bundle file reactive path from '/' to './'

when use npm run build command,will get many file link in index.html,them likes

<script src="/aaa.js"></script>

but in Express I must use

<script src="./aaa.js"></script>

so how to change the vue option ?

Hello,
if I am not totaly wrong this should help you: Configuration Reference | Vue CLI

with best regards,
Sam

hi,
I read the Reference and change the publicPath from '/' to './'
but run the build command, The problem has not been solved.
So ,change the webpack config file need more operation ?

Just checking - you ARE using vue-cli, right? Not any other “build framework” like nuxt, vite, …