Skip to content
Snippets Groups Projects
Commit f8c20e78 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Merge branch 'webpack-development-build' into 'master'

Webpack development build

See merge request !1079
parents 4a3a72a9 35eb02a6
No related branches found
No related tags found
1 merge request!1079Webpack development build
Pipeline #84692 canceled
......@@ -31,4 +31,5 @@ class Command(BaseYarnCommand):
# Run webpack
config_path = os.path.join(settings.BASE_DIR, "aleksis", "core", "webpack.config.js")
shutil.copy(config_path, settings.NODE_MODULES_ROOT)
yarn_adapter.call_yarn(["run", "webpack"])
mode = "development" if settings.DEBUG else "production"
yarn_adapter.call_yarn(["run", "webpack", f"--mode={mode}"])
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment