preserve_annotations changes position of /* #__PURE__ */
comments in function calls
#1528
Labels
/* #__PURE__ */
comments in function calls
#1528
Bug report
When using inline arrow functions as function call arguments and those functions utilize the
/* #__PURE__ */
annotation, the annotation is moved to an invalid location (downstream this results in rollup warnings and suboptimal tree shaking).Version (complete output of
terser -V
or specific git commit)v5.31
Complete CLI command or
minify()
options usedterser
inputterser
output or errorExpected result
The text was updated successfully, but these errors were encountered: