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
// index.jsfunctionsayHello(){console.log("Hello, world!");}functiongreet(name){console.log("Greetings, "+name+"!");}constmyNumber=42;sayHello();greet("Alice");console.log("My number is: "+myNumber);
this (desired outcome):
varo;console.log("Hello, world!"),o="Alice",console.log("Greetings, "+o+"!"),console.log("My number is: 42");
But with my astro config the output is (not expected outcome):
functione(){console.log("Hello, world!")}functionl(o){console.log("Greetings, "+o+"!")}constn=42;e(),l("Alice"),console.log("My number is: 42")
The text was updated successfully, but these errors were encountered:
I'm testing with Terser and i don't seem to get the same result.
My
astro.config.mjs
When i set up a clean test project (without astro) with Terser and run
It makes from this:
this (desired outcome):
But with my astro config the output is (not expected outcome):
The text was updated successfully, but these errors were encountered: