File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -27,10 +27,13 @@ compiler:
2727 cd django-admin-sortable2
2828 npm install --also=dev
2929 npm run build
30+ # and optionally for a minimized version
31+ npm run uglify
3032
3133 This then builds and bundles the JavaScript file
32- ``adminsortable2/static/adminsortable2/js/adminsortable2.js `` which later on is included by the
33- mixin classes.
34+ ``adminsortable2/static/adminsortable2/js/adminsortable2.js `` which later on is imported by the
35+ sortable-admin mixin classes. The minimized version can be imported as
36+ ``adminsortable2/static/adminsortable2/js/adminsortable2.min.js ``
3437
3538.. _.editorconfig : https://editorconfig.org/
3639.. _esbuild : https://esbuild.github.io/
@@ -50,6 +53,7 @@ Follow these steps to run this demo app.
5053 cd django-admin-sortable2
5154 npm install --also=dev
5255 npm run build
56+ python -m pip install Django
5357 python -m pip install -r testapp/requirements.txt
5458 cd testapp
5559 ./manage.py migrate
@@ -78,6 +82,7 @@ Follow these steps to run all unit- and end-to-end tests.
7882 cd django-admin-sortable2
7983 npm install --also=dev
8084 npm run build
85+ python -m pip install Django
8186 python -m pip install -r testapp/requirements.txt
8287 python -m playwright install
8388 python -m playwright install-deps
You can’t perform that action at this time.
0 commit comments