Skip to content

Commit d33b779

Browse files
committed
Merge branch '4.4' into 5.1
* 4.4: add a note about npm commands equivalent to yarn's
2 parents 04f3eec + f3c629e commit d33b779

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

frontend/encore/simple-example.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,18 @@ 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

0 commit comments

Comments
 (0)