Patch Changes
-
#1920
7d5dab41c
Thanks @DylanPiercey! - Avoid addingexport {}
(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 }
sayingx
was not previously defined. This is because Marko parses these statements in isolation. -
#1920
7d5dab41c
Thanks @DylanPiercey! - Avoid outputing adeclare
'd type on aclass
. -
Updated dependencies [
7d5dab41c
,cceab7d20
,7d5dab41c
]:- @marko/compiler@5.27.2
- @marko/translator-default@5.25.2