From ac822f98e64b7c3dbbd8c4f415150cfd40526f31 Mon Sep 17 00:00:00 2001 From: Jens-Erik Weber Date: Tue, 14 May 2024 18:10:48 +0200 Subject: [PATCH] README: Call webpack with npx, so that the local installation is found (#11) --- README.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index eb6257b..cfda792 100644 --- a/README.rst +++ b/README.rst @@ -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``. @@ -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 ---------------