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) })