Skip to content

Commit

Permalink
Fix build_plugins on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
pierotofy committed Apr 20, 2024
1 parent 10a4485 commit cc2b7d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/plugins/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
})
Expand Down

0 comments on commit cc2b7d5

Please sign in to comment.