summaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
Diffstat (limited to 'cli')
-rw-r--r--cli/commands/site/export.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/commands/site/export.py b/cli/commands/site/export.py
index d9dbbf7..5f4636a 100644
--- a/cli/commands/site/export.py
+++ b/cli/commands/site/export.py
@@ -68,9 +68,9 @@ def cli(ctx, opt_graph_path, opt_output_dir):
# build javascript
print("Building javascript...")
- print(f'NODE_ENV=production webpack --config ./webpack.config.site.js -o {graph_dir}/bundle.js')
+ print(f'NODE_ENV=production node ./node_modules/webpack-cli/bin/cli.js --config ./webpack.config.site.js -o {graph_dir}/bundle.js')
os.chdir(app_cfg.DIR_PROJECT_ROOT)
- os.system(f'NODE_ENV=production webpack --config ./webpack.config.site.js -o {graph_dir}/bundle.js')
+ os.system(f'NODE_ENV=production node ./node_modules/webpack-cli/bin/cli.js --config ./webpack.config.site.js -o {graph_dir}/bundle.js')
print("Site export complete!")
print(f"Graph exported to: {graph_dir}")