github marko-js/marko @marko/compiler@5.43.5

latest release: @marko/runtime-tags@6.5.0
one hour ago

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.

Don't miss a new marko release

NewReleases is sending notifications on new releases.