@powerlines/engine 0.44.7 → 0.44.9

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.
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
2
  const require_base_context = require('../base-context-CAA1druQ.cjs');
3
3
  const require_engine_context = require('../engine-context-CUPubmrM.cjs');
4
- const require_execution_context = require('../execution-context-D-XTNs1z.cjs');
4
+ const require_execution_context = require('../execution-context-BVn7D0Ax.cjs');
5
5
 
6
6
  exports.PowerlinesBaseContext = require_base_context.PowerlinesBaseContext;
7
7
  exports.PowerlinesContext = require_execution_context.PowerlinesContext;
@@ -1,5 +1,5 @@
1
1
  import { t as PowerlinesBaseContext } from "../base-context-fOM4ZWUo.mjs";
2
2
  import { t as PowerlinesEngineContext } from "../engine-context-BWGxMU_n.mjs";
3
- import { n as PowerlinesEnvironmentContext, o as PowerlinesContext, r as createPluginContext, t as PowerlinesExecutionContext } from "../execution-context-BLq0jnIo.mjs";
3
+ import { n as PowerlinesEnvironmentContext, o as PowerlinesContext, r as createPluginContext, t as PowerlinesExecutionContext } from "../execution-context-UJPngOZR.mjs";
4
4
 
5
5
  export { PowerlinesBaseContext, PowerlinesContext, PowerlinesEngineContext, PowerlinesEnvironmentContext, PowerlinesExecutionContext, createPluginContext };
@@ -2021,7 +2021,6 @@ var PowerlinesContext = class PowerlinesContext extends require_base_context.Pow
2021
2021
  glob: "package.json"
2022
2022
  }
2023
2023
  ] },
2024
- artifactsPath: `.${this.config.framework ?? "powerlines"}`,
2025
2024
  dts: true
2026
2025
  });
2027
2026
  logger.trace(`Pre-setup Powerlines configuration object: \n${JSON.stringify({
@@ -2077,6 +2076,7 @@ var PowerlinesContext = class PowerlinesContext extends require_base_context.Pow
2077
2076
  else this.config.output.sourceMap = false;
2078
2077
  if (!this.config.userConfig?.output?.minify && !this.config.inlineConfig?.output?.minify) if (this.config.mode === "production") this.config.output.minify = true;
2079
2078
  else this.config.output.minify = false;
2079
+ if (!this.config.userConfig?.output?.artifactsPath && !this.config.inlineConfig?.output?.artifactsPath && !this.config.pluginConfig?.output?.artifactsPath) this.config.output.artifactsPath = `.${this.config.framework || "powerlines"}`;
2080
2080
  if (this.config.output.copy && this.config.output.copy.assets) this.config.output.copy.assets = this.config.output.copy.assets.map((asset) => ({
2081
2081
  ...asset,
2082
2082
  glob: (0, _powerlines_core_plugin_utils.replacePathTokens)(this, asset.glob),
@@ -2017,7 +2017,6 @@ var PowerlinesContext = class PowerlinesContext extends PowerlinesBaseContext {
2017
2017
  glob: "package.json"
2018
2018
  }
2019
2019
  ] },
2020
- artifactsPath: `.${this.config.framework ?? "powerlines"}`,
2021
2020
  dts: true
2022
2021
  });
2023
2022
  logger.trace(`Pre-setup Powerlines configuration object: \n${JSON.stringify({
@@ -2073,6 +2072,7 @@ var PowerlinesContext = class PowerlinesContext extends PowerlinesBaseContext {
2073
2072
  else this.config.output.sourceMap = false;
2074
2073
  if (!this.config.userConfig?.output?.minify && !this.config.inlineConfig?.output?.minify) if (this.config.mode === "production") this.config.output.minify = true;
2075
2074
  else this.config.output.minify = false;
2075
+ if (!this.config.userConfig?.output?.artifactsPath && !this.config.inlineConfig?.output?.artifactsPath && !this.config.pluginConfig?.output?.artifactsPath) this.config.output.artifactsPath = `.${this.config.framework || "powerlines"}`;
2076
2076
  if (this.config.output.copy && this.config.output.copy.assets) this.config.output.copy.assets = this.config.output.copy.assets.map((asset) => ({
2077
2077
  ...asset,
2078
2078
  glob: replacePathTokens(this, asset.glob),
@@ -2676,4 +2676,4 @@ var PowerlinesExecutionContext = class PowerlinesExecutionContext extends Powerl
2676
2676
 
2677
2677
  //#endregion
2678
2678
  export { mergeConfigs as a, callHook as i, PowerlinesEnvironmentContext as n, PowerlinesContext as o, createPluginContext as r, writeMetaFile as s, PowerlinesExecutionContext as t };
2679
- //# sourceMappingURL=execution-context-BLq0jnIo.mjs.map
2679
+ //# sourceMappingURL=execution-context-UJPngOZR.mjs.map