We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ffce5f commit e13e471Copy full SHA for e13e471
packages/react-sandpack/rollup.config.ts
@@ -25,7 +25,7 @@ function getConfig({ isUMD }) {
25
output: [
26
isUMD
27
? {
28
- file: getFileName(pkg.browser),
+ file: getFileName(pkg.main.replace('.js', '.umd.js')),
29
name: camelCase(libraryName),
30
format: 'umd',
31
}
0 commit comments