Skip to content

Commit e84d35a

Browse files
committed
Add UMD build configuration for web entry point
1 parent 3c243be commit e84d35a

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

dist/web.umd.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rollup.config.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,15 @@ const configs = [
6464
format: 'es',
6565
},
6666
},
67+
{
68+
...indexConfig,
69+
input: './src/web.ts',
70+
output: {
71+
file: 'dist/web.umd.js',
72+
format: 'umd',
73+
name: 'FlowiseEmbed',
74+
},
75+
}
6776
];
6877

6978
export default configs;

0 commit comments

Comments
 (0)