Skip to content

Commit

Permalink
README: Call webpack with npx, so that the local installation is found (
Browse files Browse the repository at this point in the history
  • Loading branch information
MacLake authored May 14, 2024
1 parent a9fd352 commit ac822f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Build latest development branch using git:
cd djangocms-text
nvm use
npm install
webpack --mode development
npx webpack --mode development
You then can install the cloned repo using ``pip install -e
/path/to/the/repo/djangocms-text``.
Expand Down Expand Up @@ -212,7 +212,7 @@ Building the JavaScript
``djangocms-text`` distributes a javascript bundle required for the plugin to work,
which contains frontend editors themselves and all the necessary plugins for functioning
within CMS. To build the bundle you need to have to install dependencies with
``nvm use``, ``npm install`` and then to run ``webpack``.
``nvm use``, ``npm install`` and then to run ``npx webpack``.

Acknowledgments
---------------
Expand Down

0 comments on commit ac822f9

Please sign in to comment.