Skip to content

Commit

Permalink
Compress html files. Properly cleanup built assets for hashi.
Browse files Browse the repository at this point in the history
  • Loading branch information
rtibbles committed Mar 15, 2022
1 parent 660ca68 commit 0e750d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ clean: clean-build clean-pyc clean-assets clean-staticdeps

clean-assets:
yarn run clean
rm -fr kolibri/core/content/static/hashi/

clean-build:
rm -f kolibri/VERSION
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"publish-packages": "node ./packages/publish.js",
"hashi-dev": "yarn workspace hashi run dev",
"hashi-build": "yarn workspace hashi run build",
"compress": "kolibri-tools compress 'kolibri/*/**/static/**/*.{js,css,ico,svg,map,eot,woff,ttf,woff2}'"
"compress": "kolibri-tools compress 'kolibri/*/**/static/**/*.{html,js,css,ico,svg,map,eot,woff,ttf,woff2}'"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 0e750d8

Please sign in to comment.