Skip to content

Commit

Permalink
feat: force commonjs
Browse files Browse the repository at this point in the history
  • Loading branch information
mshanemc committed Jun 9, 2022
1 parent 8dc541f commit 222c345
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "eslint-plugin-sf-plugin",
"version": "0.1.0",
"main": "dist/index.js",
"engines": {
"node": ">=14.0.0"
"node": ">=14.16.0"
},
"type": "commonjs",
"files": [
"dist/**"
],
Expand Down
5 changes: 3 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
"compilerOptions": {
"outDir": "./dist",
"rootDir": "src",
"target": "es2019",
"target": "esnext",
"moduleResolution": "node",
"esModuleInterop": true,
"module": "commonjs",
},
"include": ["src/**/*.ts"]
"include": ["src/**/*.ts", "src/index.js"]
}

0 comments on commit 222c345

Please sign in to comment.