Skip to content

Commit

Permalink
fix!: convert button-react to es modules
Browse files Browse the repository at this point in the history
  • Loading branch information
Soc Sieng committed Jun 16, 2020
1 parent 5dfcf24 commit c6ddb0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rollup.config.js
Expand Up @@ -23,7 +23,7 @@ export default [
input: 'src/button-react/index.ts',
output: {
file: 'src/button-react/dist/index.js',
format: 'cjs',
format: 'es',
},
external: ['react'],
plugins: [rollupJson(), typescript()],
Expand All @@ -32,7 +32,7 @@ export default [
input: 'src/button-react/index.ts',
output: {
file: 'src/button-react/dist/index.d.ts',
format: 'cjs',
format: 'es',
},
plugins: [dts()],
},
Expand Down

0 comments on commit c6ddb0a

Please sign in to comment.