Skip to content

Commit 5dd465b

Browse files
authored
Merge pull request #284 from sunnymodi21/chore-add-umd-in-build-config
Add UMD build configuration for web entry point
2 parents 21d1840 + 5a7eee6 commit 5dd465b

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

dist/web.umd.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rollup.config.js

+9
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)