Skip to content

Commit

Permalink
fix: name was missing from bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobrosenberg committed Sep 26, 2020
1 parent ee82fb4 commit abf1fa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ssr.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ async function resolveScript(script) {
input: script,
inlineDynamicImports: true,
})
await bundle.write({ format: 'umd', file: bundlePath })
await bundle.write({ format: 'umd', file: bundlePath, name: 'roxi-ssr' })
}
return readFileSync(bundlePath, 'utf-8')
}
Expand Down

0 comments on commit abf1fa6

Please sign in to comment.