Skip to content

v1.0.0-beta.24

Compare
Choose a tag to compare
@wpdas wpdas released this 22 Apr 21:12
· 58 commits to main since this release
d1ff2a2

feature/core-improvement-beta-24

  • Added getAlemEnvironment feature. This can be used to get the current environment. This can be set using NODE_ENV env var.

  • Added new mechanism to escape regular expressions within code content. The previous process
    simply using scapeBacktick was breaking. Now different processes are carried out:
    1 - Captures the regular expressions found and stores them in memory using replaceRegexWithReferences;
    2 - Escape these regular expressions using escapeRegexContent;
    3 - Later, after the final bundle is ready, the compiler uses injectFoundRegExps to re-inject the expressions
    properly formatted and escaped.