Skip to content

Commit

Permalink
Merge pull request #696 from gympass/chore-revert_exports_fullpath
Browse files Browse the repository at this point in the history
chore: add full path to exports in createPackageJson
  • Loading branch information
matheushdsbr authored Sep 29, 2023
2 parents 4cbae54 + a8ad451 commit 15b4db8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/prepublish.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ const createPackageJson = () => {

const newPackageData = {
...packageDataOther,
main: './cjs',
module: './esm',
main: './cjs/index.js',
module: './esm/index.js',
types: './typings/index.d.ts',
private: false,
exports: {
'.': {
require: './cjs',
import: './esm',
require: './cjs/index.js',
import: './esm/index.js',
},
},
};
Expand Down

0 comments on commit 15b4db8

Please sign in to comment.