Skip to content

Commit

Permalink
fix: Change package to CommonJS for now
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Skelton committed Mar 25, 2021
1 parent 279ba3b commit 7b05acd
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Fixes #<issue_number_goes_here>
Fixes #

> It's a good idea to open an issue first for discussion.
Expand Down
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export default {
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
}
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@
"i18next-plugin",
"i18next-preprocessor"
],
"type": "module",
"main": "lib/index.js",
"exports": "./lib/index.js",
"types": "lib/index.d.ts",
"files": [
"src",
Expand Down
4 changes: 1 addition & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
{
"compilerOptions": {
"module": "ESNext",
"module": "CommonJS",
"target": "ES6",
"removeComments": true,
"moduleResolution": "node",
"esModuleInterop": true,
"strict": true,
"skipLibCheck": true,
"sourceMap": true,
Expand Down

0 comments on commit 7b05acd

Please sign in to comment.