Closed surgicaI closed 2 years ago
In following code the sourceMap option passed to getRenderChunk function will always be false:
let sourceMap = false return { name: 'esbuild-minify', outputOptions({ sourcemap }) { sourceMap = options.sourceMap ?? !!sourcemap return null }, renderChunk: getRenderChunk({ minify: true, ...options, sourceMap, }), } }
Changing the order of properties would fix the issue
renderChunk: getRenderChunk({ minify: true, sourceMap, ...options, }),
:tada: This issue has been resolved in version 4.10.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
In following code the sourceMap option passed to getRenderChunk function will always be false:
Changing the order of properties would fix the issue