@powerlines/engine 0.44.8 → 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.
@@ -3166,7 +3166,6 @@ var PowerlinesContext = class PowerlinesContext extends PowerlinesBaseContext {
3166
3166
  glob: "package.json"
3167
3167
  }
3168
3168
  ] },
3169
- artifactsPath: `.${this.config.framework ?? "powerlines"}`,
3170
3169
  dts: true
3171
3170
  });
3172
3171
  logger.trace(`Pre-setup Powerlines configuration object: \n${JSON.stringify({
@@ -3222,6 +3221,7 @@ var PowerlinesContext = class PowerlinesContext extends PowerlinesBaseContext {
3222
3221
  else this.config.output.sourceMap = false;
3223
3222
  if (!this.config.userConfig?.output?.minify && !this.config.inlineConfig?.output?.minify) if (this.config.mode === "production") this.config.output.minify = true;
3224
3223
  else this.config.output.minify = false;
3224
+ if (!this.config.userConfig?.output?.artifactsPath && !this.config.inlineConfig?.output?.artifactsPath && !this.config.pluginConfig?.output?.artifactsPath) this.config.output.artifactsPath = `.${this.config.framework || "powerlines"}`;
3225
3225
  if (this.config.output.copy && this.config.output.copy.assets) this.config.output.copy.assets = this.config.output.copy.assets.map((asset) => ({
3226
3226
  ...asset,
3227
3227
  glob: (0, _powerlines_core_plugin_utils.replacePathTokens)(this, asset.glob),
@@ -3133,7 +3133,6 @@ var PowerlinesContext = class PowerlinesContext extends PowerlinesBaseContext {
3133
3133
  glob: "package.json"
3134
3134
  }
3135
3135
  ] },
3136
- artifactsPath: `.${this.config.framework ?? "powerlines"}`,
3137
3136
  dts: true
3138
3137
  });
3139
3138
  logger.trace(`Pre-setup Powerlines configuration object: \n${JSON.stringify({
@@ -3189,6 +3188,7 @@ var PowerlinesContext = class PowerlinesContext extends PowerlinesBaseContext {
3189
3188
  else this.config.output.sourceMap = false;
3190
3189
  if (!this.config.userConfig?.output?.minify && !this.config.inlineConfig?.output?.minify) if (this.config.mode === "production") this.config.output.minify = true;
3191
3190
  else this.config.output.minify = false;
3191
+ if (!this.config.userConfig?.output?.artifactsPath && !this.config.inlineConfig?.output?.artifactsPath && !this.config.pluginConfig?.output?.artifactsPath) this.config.output.artifactsPath = `.${this.config.framework || "powerlines"}`;
3192
3192
  if (this.config.output.copy && this.config.output.copy.assets) this.config.output.copy.assets = this.config.output.copy.assets.map((asset) => ({
3193
3193
  ...asset,
3194
3194
  glob: replacePathTokens(this, asset.glob),