File tree Expand file tree Collapse file tree 1 file changed +6
-15
lines changed Expand file tree Collapse file tree 1 file changed +6
-15
lines changed Original file line number Diff line number Diff line change @@ -63,32 +63,23 @@ To build the assets, run:
6363
6464 # compile assets once
6565 $ yarn encore dev
66+ # if you prefer npm, run:
67+ $ npm run dev
6668
6769 # or, recompile assets automatically when files change
6870 $ yarn encore dev --watch
71+ # if you prefer npm, run:
72+ $ npm run watch
6973
7074 # on deploy, create a production build
7175 $ yarn encore production
76+ # if you prefer npm, run:
77+ $ npm run build
7278
7379 .. note ::
7480
7581 Stop and restart ``encore `` each time you update your ``webpack.config.js `` file.
7682
77- .. note ::
78-
79- If you prefer npm, run these commands instead:
80-
81- .. code-block :: terminal
82-
83- # compile assets once
84- $ npm run dev
85-
86- # or, recompile assets automatically when files change
87- $ npm run watch
88-
89- # on deploy, create a production build
90- $ npm run build
91-
9283Congrats! You now have three new files:
9384
9485* ``public/build/app.js `` (holds all the JavaScript for your "app" entry)
You can’t perform that action at this time.
0 commit comments