@playcademy/vite-plugin 0.1.2 → 0.1.4
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.
- package/dist/index.js +5 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -169679,7 +169679,11 @@ async function loadPlaycademyConfig(viteConfig) {
|
|
|
169679
169679
|
if (fs4.existsSync(configPath)) {
|
|
169680
169680
|
return await loadConfig2(configPath);
|
|
169681
169681
|
}
|
|
169682
|
-
} catch {
|
|
169682
|
+
} catch (error2) {
|
|
169683
|
+
viteConfig.logger.error(`Failed to load playcademy.config.js: ${error2 instanceof Error ? error2.message : String(error2)}`);
|
|
169684
|
+
viteConfig.logger.error(`configPath: ${configPath}`);
|
|
169685
|
+
throw error2;
|
|
169686
|
+
}
|
|
169683
169687
|
return null;
|
|
169684
169688
|
}
|
|
169685
169689
|
|