diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2020-07-11 17:23:12 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2020-07-11 17:23:12 +0200 |
| commit | 88b5644a6c2594887d6f99f1cad72a1b58d60fe4 (patch) | |
| tree | ce1dbe06e7bc202a08c7fdeb8fb147bdd6e593bd /cli | |
| parent | cf204a1567bcfc6cdfd1927cd9e897b7334abe16 (diff) | |
more fixes
Diffstat (limited to 'cli')
| -rw-r--r-- | cli/commands/site/export.py | 4 |
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}") |
