get embed.js copied over to embedr

This commit is contained in:
bryan newbold
2024-04-12 16:46:41 -07:00
committed by Dan Abramov
parent 7c0888728a
commit b585091108
4 changed files with 23 additions and 1 deletions
+16
View File
@@ -11,6 +11,22 @@ const embedAssetDest = path.join(projectRoot, 'bskyweb', 'embedr-static')
fs.cpSync(embedAssetSource, embedAssetDest, {recursive: true})
const embedEmbedJSSource = path.join(
projectRoot,
'bskyembed',
'dist',
'embed.js',
)
const embedEmbedJSDest = path.join(
projectRoot,
'bskyweb',
'embedr-static',
'embed.js',
)
fs.cpSync(embedEmbedJSSource, embedEmbedJSDest)
// copy entrypoint(s) to embedr
// additional entrypoints will need more work, but this'll do for now