Skip to content

Commit

Permalink
[fix] Restore CJS & ESM build
Browse files Browse the repository at this point in the history
  • Loading branch information
amivanoff committed Jul 31, 2024
1 parent 9eba3e3 commit 490ab5f
Show file tree
Hide file tree
Showing 6 changed files with 231 additions and 30 deletions.
13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,13 @@
"bugs": {
"url": "https://github.com/agentlab/sparql-jsld-client/issues"
},
"main": "es/index.mjs",
"module": "es/index.mjs",
"typings": "es/index.mjs.d.ts",
"main": "dist/index.cjs.js",
"module": "dist/index.esm.js",
"typings": "dist/index.d.ts",
"files": [
"es",
"dist",
"src"
],
"type": "module",
"engines": {
"node": ">=22"
},
Expand Down Expand Up @@ -87,6 +86,8 @@
"devDependencies": {
"@eslint/js": "^9.8.0",
"@jest/globals": "^29.7.0",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^26.0.1",
"@rollup/plugin-json": "6.1.0",
"@rollup/plugin-node-resolve": "15.2.3",
"@rollup/plugin-terser": "^0.4.4",
Expand Down Expand Up @@ -133,4 +134,4 @@
"fs": false,
"path": false
}
}
}
110 changes: 104 additions & 6 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 490ab5f

Please sign in to comment.