Skip to content

Commit

Permalink
fix: remove commonjs hint from package.json to allow webpack to decid…
Browse files Browse the repository at this point in the history
…e how to bundle browser package
  • Loading branch information
SewerynKras committed Oct 10, 2024
1 parent 2c70207 commit 5b2b1e9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 63 deletions.
66 changes: 8 additions & 58 deletions package-lock.json

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

3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"marketplace"
],
"main": "dist/golem-js.js",
"type": "commonjs",
"exports": {
".": {
"types": "./dist/index.d.ts",
Expand Down Expand Up @@ -87,9 +86,7 @@
"@commitlint/cli": "^19.0.3",
"@commitlint/config-conventional": "^19.0.3",
"@johanblumenberg/ts-mockito": "^1.0.43",
"@rollup/plugin-alias": "^5.1.0",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.6",
Expand Down
2 changes: 0 additions & 2 deletions rollup.config.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import { nodeResolve } from "@rollup/plugin-node-resolve";
import commonjs from "@rollup/plugin-commonjs";
import json from "@rollup/plugin-json";
import alias from "@rollup/plugin-alias";
import terser from "@rollup/plugin-terser";
import typescript from "@rollup/plugin-typescript";
import nodePolyfills from "rollup-plugin-polyfill-node";
Expand Down

0 comments on commit 5b2b1e9

Please sign in to comment.