Skip to content

Commit

Permalink
refactor: module to commonjs
Browse files Browse the repository at this point in the history
  • Loading branch information
avrcoelho committed Jun 3, 2022
1 parent 076c80f commit 310bd90
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-hook-notification",
"version": "2.2.1",
"version": "2.2.2",
"license": "MIT",
"main": "dist/main/index.js",
"typings": "dist/main/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"declarationMap": false,
"sourceMap": false,
"target": "es6",
"module": "es6",
"module": "commonjs",
"forceConsistentCasingInFileNames": true,
"esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
"moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */
Expand Down

0 comments on commit 310bd90

Please sign in to comment.