Skip to content

Commit

Permalink
add iife type to revealer
Browse files Browse the repository at this point in the history
  • Loading branch information
VoloshchenkoAl committed Jul 25, 2020
1 parent 81a62f7 commit 1adbe81
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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/*"
],
Expand Down
5 changes: 5 additions & 0 deletions rollup.prod.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ export default () => ({
file: pkg.module,
format: 'es',
},
{
file: pkg.iife,
name: 'revealer',
format: 'iife',
},
],
plugins: [typescript(), terser()],
});

0 comments on commit 1adbe81

Please sign in to comment.