fix? - maybe

This commit is contained in:
2026-05-20 17:56:38 +02:00
parent 5e54483582
commit 8e92fd63bd
+6 -1
View File
@@ -23,7 +23,12 @@ function parsePluginConfig(filePath) {
if (pluginConfig.frontEndPath) {
const sourcePath = path.join(path.dirname(filePath), pluginConfig.frontEndPath);
const destinationDir = path.join(__dirname, '../web/js/plugins', path.dirname(pluginConfig.frontEndPath));
const destinationDir = path.join(
__dirname,
'../web/js/plugins',
path.relative(pluginsDir, path.dirname(sourcePath))
);
// Check if the source path exists
if (!fs.existsSync(sourcePath)) {