gluon-status-page: mark minified js as such
This commit is contained in:
parent
886f6387b7
commit
6c0f224456
@ -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/
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
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';
|
||||||
|
Loading…
Reference in New Issue
Block a user