Skip to content

@marko/compiler@5.43.5

Choose a tag to compare

@github-actions github-actions released this 18 Nov 14:33
· 7 commits to main since this release

Patch Changes

  • #4716 bbd8075 Thanks @DylanPiercey! - A file being translated keeps the templates its analysis loaded apart from those its translate loads.

  • #4720 732f283 Thanks @DylanPiercey! - Fix every compile throwing Cannot read properties of undefined (reading 'findConfigFile') when the app depends on @babel/core but browserslist cannot be loaded from @marko/compiler (eg Yarn Plug'n'Play): without browserslist no browserslist config is searched for, and targets that need it (browser queries, a named browserslist config, esmodules) fail with an error naming the missing package.

  • #4721 942b5e6 Thanks @DylanPiercey! - Set Babel's Marko plugin up once instead of once per set of compile options, so compiles whose options are new objects each time (a new babelConfig, fileSystem or resolveVirtualDependency per file) no longer set it up again for every template. An unset optimize now follows NODE_ENV/MARKO_DEBUG on every compile; compiles that shared their options and cache kept the first compile's value.