Skip to content

Commit

Permalink
fix(146): add browser es versions
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowtime2000 committed Dec 29, 2021
1 parent 304b9e2 commit 408d59c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions rollup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,17 @@ export default [
name: 'Eta',
sourcemap: true,
plugins: [terser()]
},
{
file: 'dist/browser/eta.es.dev.js',
format: 'es',
sourcemap: true
},
{
file: 'dist/browser/eta.es.min.js',
format: 'es',
sourcemap: true,
plugins: [terser()]
}
],
plugins: [typescript({ useTsconfigDeclarationDir: true }), commonjs(), resolve()],
Expand Down

0 comments on commit 408d59c

Please sign in to comment.