Skip to content

Commit

Permalink
Named export for output
Browse files Browse the repository at this point in the history
  • Loading branch information
djensenius committed Mar 29, 2024
1 parent 0d58140 commit 859b93b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,16 @@ export default {
format: 'cjs',
name: 'index',
file: 'dist/index.js',
exports: 'auto',
exports: 'named',
banner: '/* @preserve bluelinky / MIT License / https://github.com/Hacksore/bluelinky */',
},
{
format: 'esm',
name: 'index',
exports: 'named',
file: 'dist/index.esm.js',
banner: '/* @preserve bluelinky / MIT License / https://github.com/Hacksore/bluelinky */',
}
},
],
external: [...Object.keys(pkg.dependencies || {}), 'events', 'url', 'fs', 'util'],
plugins: [
Expand Down

0 comments on commit 859b93b

Please sign in to comment.