forked from mystiq/hydrogen-web
Use script to copy over runtime theme after build
This commit is contained in:
parent
c5f4a75d4b
commit
5ba74b1d75
1 changed files with 5 additions and 0 deletions
5
scripts/test-theme.sh
Executable file
5
scripts/test-theme.sh
Executable file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/zsh
|
||||||
|
cp theme.json target/assets/theme-customer.json
|
||||||
|
cat target/config.json | jq '.themeManifests += ["assets/theme-customer.json"]' | cat > target/config.temp.json
|
||||||
|
rm target/config.json
|
||||||
|
mv target/config.temp.json target/config.json
|
Loading…
Reference in a new issue