Webpack package adds the specified path in front of the path

now the root path of the packaged project is / but the project is in a folder, so you need to add a layer / filename/ in front of the path of the packaged file to access it. How should I do this?

Aug.31,2021

index.js
build: {

under the config file
// Template for index.html
index: path.resolve(__dirname, '../dist/index.html'),

// Paths
assetsRoot: path.resolve(__dirname, '../dist'),
assetsSubDirectory: 'static',
assetsPublicPath: '/file/',  // 
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b376f5-2c07a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b376f5-2c07a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?