Open WOSHIZHAZHA120 opened 1 year ago
I can look into supporting changing the output config, but what reason do you have changing it? It looks like your just trying to obfuscate the files?
The plugin automatically configures the output so it follows all the developer guidelines google puts forth for publishing extensions, so you shouldn't need to configure any output config.
Yes, I want to obfuscate the files, I'm doing a private extension and want to share it with some people so they can't find the files and code right away.
is this possible ?
Ah I see, that makes sense for a private extension.
I'll look into supporting this. For now, you'll have to write a script that runs after your build that calculates the hashes and renames the files on disk and in the manifest.
Summary
cannot change build.rollupOptions.output.entryFileNames
Reproduction
https://github.com/WOSHIZHAZHA120/5c122de243419b83f4cc5c2a01dd69a2d91c9dd7Environment