forked from mystiq/hydrogen-web
Add backwards compatibility
This commit is contained in:
parent
5170329c79
commit
3f4dddc004
1 changed files with 5 additions and 1 deletions
|
@ -11,7 +11,11 @@ cp doc/SDK.md target/README.md
|
||||||
pushd target
|
pushd target
|
||||||
pushd asset-build/assets
|
pushd asset-build/assets
|
||||||
mv main.*.js ../../main.js
|
mv main.*.js ../../main.js
|
||||||
mv *light.*.css ../../style.css
|
# Create a copy of light theme for backwards compatibility
|
||||||
|
cp theme-element-light.*.css ../../style.css
|
||||||
|
# Remove asset hash from css files
|
||||||
|
mv theme-element-light.*.css ../../theme-element-light.css
|
||||||
|
mv theme-element-dark.*.css ../../theme-element-dark.css
|
||||||
mv download-sandbox.*.html ../../download-sandbox.html
|
mv download-sandbox.*.html ../../download-sandbox.html
|
||||||
rm *.js *.wasm
|
rm *.js *.wasm
|
||||||
mv ./* ../../
|
mv ./* ../../
|
||||||
|
|
Loading…
Reference in a new issue