github marko-js/marko @marko/compiler@5.27.2

Patch Changes

  • #1920 7d5dab41c Thanks @DylanPiercey! - Avoid adding export {} (from "@babel/plugin-transform-typescript") when outputing a template with the types stripped.

  • #1918 cceab7d20 Thanks @DylanPiercey! - Reduce script parsing restrictions added by Babel.
    This was causing Babel to error when parsing partial scripts.

    static const x = 1;
    export { x };

    Before this change in the above code Babel would error when parsing export { x } saying x was not previously defined. This is because Marko parses these statements in isolation.

  • #1920 7d5dab41c Thanks @DylanPiercey! - Avoid outputing a declare'd type on a class.

Don't miss a new marko release

NewReleases is sending notifications on new releases.