Patch Changes
-
#4716
bbd8075Thanks @DylanPiercey! - A file being translated keeps the templates its analysis loaded apart from those its translate loads. -
#4720
732f283Thanks @DylanPiercey! - Fix every compile throwingCannot read properties of undefined (reading 'findConfigFile')when the app depends on@babel/corebutbrowserslistcannot be loaded from@marko/compiler(eg Yarn Plug'n'Play): withoutbrowserslistno 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
942b5e6Thanks @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 newbabelConfig,fileSystemorresolveVirtualDependencyper file) no longer set it up again for every template. An unsetoptimizenow followsNODE_ENV/MARKO_DEBUGon every compile; compiles that shared their options and cache kept the first compile's value.