Slide 31
Slide 31 text
const bundledScripts = []
const script = await fetch(AD_ENTRY_URL)
const nextScriptURL = script.match(NEXT_URL_REGEX)
bundledScripts.push(
script.replace(
'createElement("script")',
'createElement("div")'
)
)
const nextScript = fetch(nextScriptURL)
// …
minify(bundledScripts.join(''))
Build
ࠂεΫϦϓτͷ࠷దԽ