From cc2b7d5265c21ce10489e96730d0b1716381e8b8 Mon Sep 17 00:00:00 2001 From: Piero Toffanin Date: Sat, 20 Apr 2024 13:55:25 -0400 Subject: [PATCH] Fix build_plugins on Windows --- app/plugins/functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/plugins/functions.py b/app/plugins/functions.py index 8300c29a..61811d9d 100644 --- a/app/plugins/functions.py +++ b/app/plugins/functions.py @@ -110,7 +110,7 @@ def build_plugins(): # Create entry configuration entry = {} for e in plugin.build_jsx_components(): - entry[os.path.splitext(os.path.basename(e))[0]] = [os.path.join('.', e)] + entry[os.path.splitext(os.path.basename(e))[0]] = ['./' + e] wpc_content = tmpl.substitute({ 'entry_json': json.dumps(entry) })