1
2
3
4
5
6
7
8
9
10
11
12
import { fetch } from "https://esm.town/v/std/fetch";
let { REACT_MINIFIED } = await import("https://esm.town/v/liamdanielduffy/REACT_MINIFIED");
export async function buildReactMinified() {
let res = await fetch(
"https://unpkg.com/react@18/umd/react.production.min.js",
);
let src = await res.text();
REACT_MINIFIED = src;
return REACT_MINIFIED;
}
Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
Comments
Nobody has commented on this val yet: be the first!
October 23, 2023