jsx: build directly in destination

removes `npm run place`, allows build:watch
This commit is contained in:
Min RK
2024-03-06 00:27:18 +01:00
parent fd78a03280
commit 87bf84d05f
4 changed files with 4 additions and 9 deletions

View File

@@ -215,13 +215,6 @@ class JSX(BaseCommand):
shell=shell,
)
print("Copying JSX admin app to static/js")
check_call(
["npm", "run", "place"],
cwd=self.jsx_dir,
shell=shell,
)
# update data-files in case this created new files
self.distribution.data_files = get_data_files()
assert not self.should_run(), 'JSX.run failed'