I have a dynamic import in a web worker.
When running build etc locally these files appear in the generated chunks.
When running build in the amplify CI these chunks are missing.
Any ideas why that might be?
Oh and there are no errors when running next build.
I've compared the output directly locally vs created in amplify.
Is there any reason why running build on the same files could result in a different set of chunks?