v1.0.0-beta.24
feature/core-improvement-beta-24
-
Added
getAlemEnvironment
feature. This can be used to get the current environment. This can be set usingNODE_ENV
env var. -
Added new mechanism to escape regular expressions within code content. The previous process
simply usingscapeBacktick
was breaking. Now different processes are carried out:
1 - Captures the regular expressions found and stores them in memory usingreplaceRegexWithReferences
;
2 - Escape these regular expressions usingescapeRegexContent
;
3 - Later, after the final bundle is ready, the compiler usesinjectFoundRegExps
to re-inject the expressions
properly formatted and escaped.