Add script to update the bundle file

This commit is contained in:
Jackson Harper
2022-08-29 11:31:36 +08:00
parent 2beb75d747
commit 27f803e5af

View File

@ -3,7 +3,8 @@
"version": "1.0.0",
"private": true,
"scripts": {
"build": "webpack --mode production"
"build": "webpack --mode production",
"build-and-update": "yarn build && cp build/bundle.js ../../apple/OmnivoreKit/Sources/Views/Resources/bundle.js"
},
"dependencies": {
"@omnivore/web": "1.0.0"