fix: bin/ production build naming

This commit is contained in:
Michal Szczepanski 2023-07-02 10:51:57 +02:00
parent 020baafab7
commit 5f836df9ad
3 changed files with 10 additions and 1 deletions

10
bin/build-chrome-dev Executable file
View File

@ -0,0 +1,10 @@
#!/bin/bash
export NODE_ENV=development
# swap manifests
mv src/manifest.json src/manifest.dev.json
mv src/manifest.ch.json src/manifest.json
# build
npm run prod
# swap manifests back
mv src/manifest.json src/manifest.ch.json
mv src/manifest.dev.json src/manifest.json

View File

@ -1,6 +1,5 @@
#!/bin/bash
export NODE_ENV=production
# swap manifests
mv src/manifest.json src/manifest.dev.json
mv src/manifest.ch.json src/manifest.json