2022-12-17 22:55:05 +01:00
|
|
|
#!/bin/bash
|
2023-01-05 01:48:38 +01:00
|
|
|
export NODE_ENV=production
|
2022-12-17 22:55:05 +01:00
|
|
|
# swap manifests
|
2023-07-02 10:49:03 +02:00
|
|
|
mv src/manifest.json src/manifest.dev.json
|
2022-12-17 22:55:05 +01:00
|
|
|
mv src/manifest.ff.json src/manifest.json
|
|
|
|
# build
|
2023-01-25 00:51:08 +01:00
|
|
|
npm run prod:ff
|
2022-12-17 22:55:05 +01:00
|
|
|
# swap manifests back
|
|
|
|
mv src/manifest.json src/manifest.ff.json
|
2023-07-02 10:49:03 +02:00
|
|
|
mv src/manifest.dev.json src/manifest.json
|