@powerlines/engine 0.44.4 → 0.44.5

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.
@@ -148,7 +148,7 @@ function createDefaultEnvironment(config = {}) {
148
148
 
149
149
  //#endregion
150
150
  //#region src/_internal/helpers/context.ts
151
- function getConfigProps(config = {}, root, cwd) {
151
+ function getConfigProps(config = {}) {
152
152
  return {
153
153
  name: config.name,
154
154
  title: config.title,
@@ -165,11 +165,7 @@ function getConfigProps(config = {}, root, cwd) {
165
165
  mode: config.mode,
166
166
  resolve: config.resolve,
167
167
  framework: config.framework,
168
- ...config,
169
- output: {
170
- ...config.output ?? {},
171
- path: config.output?.path ? (0, _stryke_path_append.appendPath)(config.output.path, (0, _stryke_path_append.appendPath)(root, cwd)) : void 0
172
- }
168
+ ...config
173
169
  };
174
170
  }
175
171
 
@@ -3087,7 +3083,7 @@ var PowerlinesContext = class PowerlinesContext extends PowerlinesBaseContext {
3087
3083
  inlineConfig: this.config.inlineConfig ?? {},
3088
3084
  userConfig: this.config.userConfig ?? {},
3089
3085
  pluginConfig: this.config.pluginConfig ?? {}
3090
- }, this.options, this.config.inlineConfig ? getConfigProps(this.config.inlineConfig, this.options.root, this.options.cwd) : {}, this.config.userConfig ? getConfigProps(this.config.userConfig, this.options.root, this.options.cwd) : {}, this.config.pluginConfig ? getConfigProps(this.config.pluginConfig, this.options.root, this.options.cwd) : {}, {
3086
+ }, this.options, getConfigProps(this.config.inlineConfig), getConfigProps(this.config.userConfig), getConfigProps(this.config.pluginConfig), {
3091
3087
  name: this.projectJson?.name || this.packageJson?.name,
3092
3088
  version: this.packageJson?.version,
3093
3089
  description: this.packageJson?.description
@@ -115,7 +115,7 @@ function createDefaultEnvironment(config = {}) {
115
115
 
116
116
  //#endregion
117
117
  //#region src/_internal/helpers/context.ts
118
- function getConfigProps(config = {}, root, cwd) {
118
+ function getConfigProps(config = {}) {
119
119
  return {
120
120
  name: config.name,
121
121
  title: config.title,
@@ -132,11 +132,7 @@ function getConfigProps(config = {}, root, cwd) {
132
132
  mode: config.mode,
133
133
  resolve: config.resolve,
134
134
  framework: config.framework,
135
- ...config,
136
- output: {
137
- ...config.output ?? {},
138
- path: config.output?.path ? appendPath(config.output.path, appendPath(root, cwd)) : void 0
139
- }
135
+ ...config
140
136
  };
141
137
  }
142
138
 
@@ -3054,7 +3050,7 @@ var PowerlinesContext = class PowerlinesContext extends PowerlinesBaseContext {
3054
3050
  inlineConfig: this.config.inlineConfig ?? {},
3055
3051
  userConfig: this.config.userConfig ?? {},
3056
3052
  pluginConfig: this.config.pluginConfig ?? {}
3057
- }, this.options, this.config.inlineConfig ? getConfigProps(this.config.inlineConfig, this.options.root, this.options.cwd) : {}, this.config.userConfig ? getConfigProps(this.config.userConfig, this.options.root, this.options.cwd) : {}, this.config.pluginConfig ? getConfigProps(this.config.pluginConfig, this.options.root, this.options.cwd) : {}, {
3053
+ }, this.options, getConfigProps(this.config.inlineConfig), getConfigProps(this.config.userConfig), getConfigProps(this.config.pluginConfig), {
3058
3054
  name: this.projectJson?.name || this.packageJson?.name,
3059
3055
  version: this.packageJson?.version,
3060
3056
  description: this.packageJson?.description