Skip to content

@marko/compiler@5.27.2

Compare
Choose a tag to compare
@github-actions github-actions released this 21 Mar 20:44
· 885 commits to main since this release

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.