Skip to content

Commit

Permalink
Add linkifyjs ES6 module build (#356)
Browse files Browse the repository at this point in the history
This allows consumers to use ES6 imports in the browser.
  • Loading branch information
emersion authored Oct 14, 2021
1 parent 3d4637e commit 5e702da
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/linkifyjs/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ export default [
output: [
{ file: 'lib/linkify.js', format: 'cjs', exports: 'auto' },
{ file: 'dist/linkify.js', name: 'linkify', format: 'iife' },
{ file: 'dist/linkify.min.js', name: 'linkify', format: 'iife', plugins: [terser()] }
{ file: 'dist/linkify.min.js', name: 'linkify', format: 'iife', plugins: [terser()] },
{ file: 'dist/linkify.module.js', format: 'es' }
],
plugins
},
Expand Down

0 comments on commit 5e702da

Please sign in to comment.