@koishijs/loader
Advanced tools
Comparing version 4.2.5 to 4.2.6
@@ -226,3 +226,2 @@ var __create = Object.create; | ||
return; | ||
(0, import_core.resolveConfig)(plugin, config); | ||
return parent.plugin(plugin, this.interpolate(config)); | ||
@@ -323,3 +322,2 @@ } | ||
app.provide("baseDir", this.baseDir, true); | ||
app.envData = this.envData; | ||
app.scope[_Loader.kRecord] = /* @__PURE__ */ Object.create(null); | ||
@@ -326,0 +324,0 @@ const fork = await this.reload(app, "group:entry", this.config.plugins); |
{ | ||
"name": "@koishijs/loader", | ||
"description": "Config Loader for Koishi", | ||
"version": "4.2.5", | ||
"version": "4.2.6", | ||
"main": "lib/index.js", | ||
@@ -44,6 +44,6 @@ "module": "lib/shared.mjs", | ||
"peerDependencies": { | ||
"@koishijs/core": "4.15.5" | ||
"@koishijs/core": "4.15.6" | ||
}, | ||
"devDependencies": { | ||
"@koishijs/core": "4.15.5", | ||
"@koishijs/core": "4.15.6", | ||
"@types/js-yaml": "^4.0.8" | ||
@@ -50,0 +50,0 @@ }, |
@@ -1,2 +0,2 @@ | ||
import { Context, Dict, EffectScope, ForkScope, interpolate, isNullable, Logger, Plugin, resolveConfig, Universal, valueMap, version } from '@koishijs/core' | ||
import { Context, Dict, EffectScope, ForkScope, interpolate, isNullable, Logger, Plugin, Universal, valueMap, version } from '@koishijs/core' | ||
import { constants, promises as fs } from 'fs' | ||
@@ -251,3 +251,2 @@ import * as yaml from 'js-yaml' | ||
resolveConfig(plugin, config) | ||
return parent.plugin(plugin, this.interpolate(config)) | ||
@@ -355,3 +354,2 @@ } | ||
app.provide('baseDir', this.baseDir, true) | ||
app.envData = this.envData | ||
app.scope[Loader.kRecord] = Object.create(null) | ||
@@ -358,0 +356,0 @@ const fork = await this.reload(app, 'group:entry', this.config.plugins) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
61845
1319