Vue init simple static configuration js file packaging problem

Project uses vue init simple scaffolding project
question: how to configure a static file config.js, in the project this file is the global domain name, which is used to change the domain name online.
then, how can webpack be set up so that the config.js can be packaged into a dist file together, and then the garbled code will not be compressed?
how to configure it in webpack.config?
clipboard.png

clipboard.png

Nov.21,2021

webpack copywebpackplugin can read idebar/Sidebar.jsx" rel=" nofollow noreferrer "> link description

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-1e3f591-43563.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-1e3f591-43563.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?