I'm looking for a way to disable chunkhash in neutrino.js when building, but didn't find any documentation about it, anyone could help?
Updated:
As in webpack, I can customize the output.filename, in neutrino.js, it seems the string "[name].[hash].bundle.js" is baked in, and there's no way to remove [hash] as far as I can see.
In your
.neutrinorc.jsfile, you can add an additional override function to change the output filename to not include the chunk hash (usingneutrino-preset-reactas an example:If you want to change build targets based on an environment variable:
Then you can run Neutrino twice with differing environments: