Skip to content

Commit ac822f9

Browse files
authored
README: Call webpack with npx, so that the local installation is found (#11)
1 parent a9fd352 commit ac822f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Build latest development branch using git:
3434
cd djangocms-text
3535
nvm use
3636
npm install
37-
webpack --mode development
37+
npx webpack --mode development
3838
3939
You then can install the cloned repo using ``pip install -e
4040
/path/to/the/repo/djangocms-text``.
@@ -212,7 +212,7 @@ Building the JavaScript
212212
``djangocms-text`` distributes a javascript bundle required for the plugin to work,
213213
which contains frontend editors themselves and all the necessary plugins for functioning
214214
within CMS. To build the bundle you need to have to install dependencies with
215-
``nvm use``, ``npm install`` and then to run ``webpack``.
215+
``nvm use``, ``npm install`` and then to run ``npx webpack``.
216216

217217
Acknowledgments
218218
---------------

0 commit comments

Comments
 (0)