This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(async () => { | |
const QUERY_SELECTOR = "img"; | |
// ! get image blobs | |
let blobs = [...document.querySelectorAll(QUERY_SELECTOR)].map( | |
async ({src}) => ({ | |
src, | |
blob: await (await fetch(src, {mode: "no-cors"})).blob(), | |
}) | |
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build React App/Deploy EB On Push | |
on: | |
push: | |
branches: | |
- production | |
- development | |
jobs: |