vaderjs 2.3.9 → 2.3.11

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.
Files changed (2) hide show
  1. package/main.js +2 -2
  2. package/package.json +1 -1
package/main.js CHANGED
@@ -102,7 +102,7 @@ export function defineConfig(config) {
102
102
  return config;
103
103
  }
104
104
 
105
- async function runPluginHook(hookName) {
105
+ async function runPluginHook(hookName) {
106
106
  if (!config.plugins) return;
107
107
  for (const plugin of config.plugins) {
108
108
  if (typeof plugin[hookName] === "function") {
@@ -527,7 +527,7 @@ async function main() {
527
527
  }
528
528
 
529
529
  // Load config for runtime commands
530
- const config = await loadConfig();
530
+ config = await loadConfig();
531
531
  config.port ||= 3000;
532
532
 
533
533
  switch (command) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vaderjs",
3
- "version": "2.3.9",
3
+ "version": "2.3.11",
4
4
  "description": "A simple and powerful JavaScript library for building modern web applications.",
5
5
  "bin": {
6
6
  "vaderjs": "./main.js"