Skip to content

Commit 85ffc7a

Browse files
committed
Add pure.esm.js output
1 parent bed1f93 commit 85ffc7a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

rollup.config.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@ export default [
2727
},
2828
{
2929
input: 'src/pure.ts',
30-
output: [{file: 'dist/pure.js', format: 'cjs'}],
30+
output: [
31+
{file: 'dist/pure.js', format: 'cjs'},
32+
{file: 'dist/pure.esm.js', format: 'es'},
33+
],
3134
plugins: PLUGINS,
3235
},
3336
];

0 commit comments

Comments
 (0)