Im using tsdown to generate various parts of a chrome extension (content script, devtools panel, devtools page).
Previously I had manifest.json inside /public and was using copy: [{ from: 'public', to: 'dist' }], however I would like to be able to do a transform on this file; and copied files dont seem to pass through the transform function. I tried creating an entry: with the json, however that results in javascript in the dist directory.
Is there some way I can have json as entry, transform it, and output json also?