@next-core/brick-kit 2.92.2 → 2.93.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -1849,6 +1849,10 @@ function evaluate(raw) {
1849
1849
  globalVariables.MISC = getRuntime().getMiscSettings();
1850
1850
  }
1851
1851
 
1852
+ if (attemptToVisitGlobals.has("BASE_URL")) {
1853
+ globalVariables.BASE_URL = getBasePath().replace(/\/$/, "");
1854
+ }
1855
+
1852
1856
  try {
1853
1857
  var result = cook(precooked.expression, precooked.source, {
1854
1858
  globalVariables: supply(precooked.attemptToVisitGlobals, globalVariables)