Skip to content
Snippets Groups Projects
Commit 6c0f2244 authored by Jan-Niklas Burfeind's avatar Jan-Niklas Burfeind
Browse files

gluon-status-page: mark minified js as such

parent 886f6387
No related branches found
No related tags found
No related merge requests found
...@@ -17,8 +17,10 @@ define Package/gluon-status-page/install ...@@ -17,8 +17,10 @@ define Package/gluon-status-page/install
$(INSTALL_DIR) $(1)/lib/gluon/status-page/providers $(INSTALL_DIR) $(1)/lib/gluon/status-page/providers
$(INSTALL_BIN) $(PKG_BUILD_DIR)/stations $(1)/lib/gluon/status-page/providers/ $(INSTALL_BIN) $(PKG_BUILD_DIR)/stations $(1)/lib/gluon/status-page/providers/
ifndef CONFIG_GLUON_MINIFY ifdef CONFIG_GLUON_MINIFY
$(CP) ./javascript/status-page.js $(1)/lib/gluon/status-page/www/static/status-page.js $(INSTALL_DATA) ./javascript/status-page.min.js $(1)/lib/gluon/status-page/www/static/status-page.js
else
$(INSTALL_DATA) ./javascript/status-page.js $(1)/lib/gluon/status-page/www/static/status-page.js
endif endif
$(INSTALL_DIR) $(1)/lib/gluon/status-page/view/ $(INSTALL_DIR) $(1)/lib/gluon/status-page/view/
......
/* /*
Build using: Build using:
uglifyjs javascript/status-page.js -o files/lib/gluon/status-page/www/static/status-page.js -c -m uglifyjs javascript/status-page.js -o javascript/status-page.min.js -c -m
*/ */
'use strict'; 'use strict';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment