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
馃憢 hey, love the library, i've used it for years for many projects, it's my go-to!
i noticed rollup is complaining about the #__PURE__ comments -- glancing at rollup's docs, i think it just wants these annotations positioned before the const?
i suspect a change like this might make both uglify and rollup happy? i'm using terser, which apparently supports these same kinds of annotations.
rollup's warning, literally complaining about the meta-comment // these #__PURE__ comments help uglifyjs with dead code removal which is kinda funny
(!) A comment
"// these #__PURE__ comments help uglifyjs with dead code removal"
in "../toolbox/node_modules/simplex-noise/dist/esm/simplex-noise.js" contains an annotation that Rollup cannot interpret due to the position of the comment. The comment will be removed to avoid issues.
https://rollupjs.org/https://rollupjs.org/configuration-options/#pure
../toolbox/node_modules/simplex-noise/dist/esm/simplex-noise.js (29:0)
27: SOFTWARE.
28: */
29: // these #__PURE__ comments help uglifyjs with dead code removal
^
30: //
31: const F2 = /*#__PURE__*/ 0.5 * (Math.sqrt(3.0) - 1.0);
another rollup warning about the next line
(!) A comment
"/*#__PURE__*/"
in "../toolbox/node_modules/simplex-noise/dist/esm/simplex-noise.js" contains an annotation that Rollup cannot interpret due to the position of the comment. The comment will be removed to avoid issues.
https://rollupjs.org/https://rollupjs.org/configuration-options/#pure
../toolbox/node_modules/simplex-noise/dist/esm/simplex-noise.js (31:11)
29: // these #__PURE__ comments help uglifyjs with dead code removal
30: //
31: const F2 = /*#__PURE__*/ 0.5 * (Math.sqrt(3.0) - 1.0);
^
32: const G2 = /*#__PURE__*/ (3.0 - Math.sqrt(3.0)) / 6.0;
33: const F3 = 1.0 / 3.0;
this obviously is not a critical issue.
The text was updated successfully, but these errors were encountered:
馃憢 hey, love the library, i've used it for years for many projects, it's my go-to!
i noticed rollup is complaining about the
#__PURE__
comments -- glancing at rollup's docs, i think it just wants these annotations positioned before theconst
?i suspect a change like this might make both uglify and rollup happy? i'm using terser, which apparently supports these same kinds of annotations.
rollup's warning, literally complaining about the meta-comment
// these #__PURE__ comments help uglifyjs with dead code removal
which is kinda funnyanother rollup warning about the next line
this obviously is not a critical issue.
The text was updated successfully, but these errors were encountered: