aboutsummaryrefslogtreecommitdiff
path: root/rollup.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'rollup.config.js')
-rw-r--r--rollup.config.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/rollup.config.js b/rollup.config.js
new file mode 100644
index 0000000..61d7dbb
--- /dev/null
+++ b/rollup.config.js
@@ -0,0 +1,16 @@
+export default {
+ input: 'index.js',
+ output: [
+ {
+ file: 'dist/compose.mjs',
+ format: 'module'
+ }, {
+ file: 'dist/compose.js',
+ format: 'cjs'
+ }, {
+ file: 'dist/compose.umd.js',
+ format: 'umd',
+ name: 'compose'
+ }
+ ]
+}; \ No newline at end of file