fix: bin/ production build naming
This commit is contained in:
parent
020baafab7
commit
5f836df9ad
|
@ -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
|
|
@ -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
|
Loading…
Reference in New Issue