How to exclude specified files when packing by rollup

how rollup excludes specified files when packaging, or packages into two files.

now the project needs to output two files after packaging, one logical file and one configuration file (config)

utils.js
config.js

however, it will not be configured.

is there any way to achieve this?

Dec.21,2021

{
   external: id => /config.js/.test(id)
}
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-1e50e8e-44446.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-1e50e8e-44446.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?