Skip to content

Commit 882a25d

Browse files
committed
export only the client in the browser-minified package
1 parent 3d1c07c commit 882a25d

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

rollup.config.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,14 +115,12 @@ export default [
115115

116116
// Browser minified version.
117117
{
118-
input: 'packages/main.js',
119-
external: ['react'],
118+
input: 'packages/client.ts',
120119
output: [
121120
{
122121
file: pkg.unpkg,
123122
format: 'umd',
124123
name: 'BoardgameIO',
125-
globals: { react: 'React' },
126124
},
127125
],
128126
plugins: minifiedPlugins,

0 commit comments

Comments
 (0)