From 1adbe81c4521581e6c10304ffd93815b69a0593b Mon Sep 17 00:00:00 2001 From: Alex Voloshchenko Date: Sat, 25 Jul 2020 21:13:07 +0300 Subject: [PATCH] add iife type to revealer --- package.json | 3 ++- rollup.prod.config.js | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 3d06044..094c07b 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,9 @@ { "name": "circular-revealer", - "version": "0.0.7", + "version": "0.0.8", "main": "dist/index.js", "module": "dist/index.es.js", + "iife": "dist/index.iife.js", "files": [ "dist/*" ], diff --git a/rollup.prod.config.js b/rollup.prod.config.js index 5680c99..522f734 100644 --- a/rollup.prod.config.js +++ b/rollup.prod.config.js @@ -14,6 +14,11 @@ export default () => ({ file: pkg.module, format: 'es', }, + { + file: pkg.iife, + name: 'revealer', + format: 'iife', + }, ], plugins: [typescript(), terser()], });