Skip to content

Commit

Permalink
chore: package esm only
Browse files Browse the repository at this point in the history
  • Loading branch information
ptitFicus committed Jul 12, 2022
1 parent 86776f5 commit b447cfc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"description": "Build react safe forms as fast as possible",
"version": "1.2.6",
"main": "lib/index.js",
"module": "lib/esm/index.js",
"types": "lib/index.d.ts",
"source": "src/index.ts",
"author": "MAIF team",
Expand Down
3 changes: 1 addition & 2 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ const isYalcActivated = process.env.YALC === 'activated'
export default [{
input: pkg.source,
output: [
{ file: pkg.main, format: 'cjs' },
{ file: pkg.module, format: 'esm' }
{ file: pkg.main, format: 'esm' }
],
plugins: [
// visualizer(),
Expand Down

0 comments on commit b447cfc

Please sign in to comment.