SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 18c95651 authored by Jean-Sébastien Caux's avatar Jean-Sébastien Caux
Browse files

Tweak installation docs about webpack

parent 2ac82bd8
No related branches found
No related tags found
No related merge requests found
......@@ -164,13 +164,11 @@ for production it is ``webpack.prod.config.js``.
The file ``package.json`` defines the scripts needed to run npm below.
Development server
==================
During development, to (re)compile all assets into
the ``static_bundles`` folder, simply run::
(scipostenv) $ npm run webpack
(scipostenv) $ npm run webpack-dev
which makes use of the dev config file ``webpack.dev.config.js``.
......@@ -178,12 +176,9 @@ While editing assets, it may be helpful to put Webpack in *watch* mode.
This will recompile your assets in real time. To do so, instead of the
above command, run::
(scipostenv) $ npm run webpack-live
(scipostenv) $ npm run webpack-dev-live
Production server
=================
On the production server, run::
(scipostenv) $ npm run webpack-prod
......
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