You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
returns this error:
../../node_modules/acorn-typescript/lib/index.mjs (1:14760): A comment
"/*#__PURE__*/"
in "../../node_modules/acorn-typescript/lib/index.mjs" contains an annotation that Rollup cannot interpret due to the position of the comment. The comment will be removed to avoid issues.
THEORY -> RETURN BELOW EXAMPLE INSTEAD FOR MINIFIED FILES? Gets rid of the errors when I test it:
return /*#__PURE__*/ function(t){function e(){return t.apply(this,arguments)||this}o(e,t);var s=e.prototype;
Maybe this has to do with microbundle being outdated? Not sure if it's that or if it's problematic code here.
The text was updated successfully, but these errors were encountered:
Rollup doesn't know what to do when
/*#__PURE__*/
comments in this package are before return instead of before the function. For example:THIS:
/*#__PURE__*/
return function(t){function e(){return t.apply(this,arguments)||this}o(e,t);var s=e.prototype;returns this error:
../../node_modules/acorn-typescript/lib/index.mjs (1:14760): A comment
"/*#__PURE__*/"
in "../../node_modules/acorn-typescript/lib/index.mjs" contains an annotation that Rollup cannot interpret due to the position of the comment. The comment will be removed to avoid issues.
THEORY -> RETURN BELOW EXAMPLE INSTEAD FOR MINIFIED FILES? Gets rid of the errors when I test it:
return
/*#__PURE__*/
function(t){function e(){return t.apply(this,arguments)||this}o(e,t);var s=e.prototype;Maybe this has to do with microbundle being outdated? Not sure if it's that or if it's problematic code here.
The text was updated successfully, but these errors were encountered: