get embed.js copied over to embedr
This commit is contained in:
committed by
Dan Abramov
parent
7c0888728a
commit
b585091108
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user