Skip to content

Commit e13e471

Browse files
author
Ives van Hoorne
committed
Update
1 parent 3ffce5f commit e13e471

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-sandpack/rollup.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function getConfig({ isUMD }) {
2525
output: [
2626
isUMD
2727
? {
28-
file: getFileName(pkg.browser),
28+
file: getFileName(pkg.main.replace('.js', '.umd.js')),
2929
name: camelCase(libraryName),
3030
format: 'umd',
3131
}

0 commit comments

Comments
 (0)