File tree 1 file changed +6
-15
lines changed
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:
63
63
64
64
# compile assets once
65
65
$ yarn encore dev
66
+ # if you prefer npm, run:
67
+ $ npm run dev
66
68
67
69
# or, recompile assets automatically when files change
68
70
$ yarn encore dev --watch
71
+ # if you prefer npm, run:
72
+ $ npm run watch
69
73
70
74
# on deploy, create a production build
71
75
$ yarn encore production
76
+ # if you prefer npm, run:
77
+ $ npm run build
72
78
73
79
.. note ::
74
80
75
81
Stop and restart ``encore `` each time you update your ``webpack.config.js `` file.
76
82
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
-
92
83
Congrats! You now have three new files:
93
84
94
85
* ``public/build/app.js `` (holds all the JavaScript for your "app" entry)
You can’t perform that action at this time.
0 commit comments