Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…wrong.github.io/blob/main/docs/problems/FalseESM.md -- it's not technically a breaking functionality, but it's a sub-optimal one (that we ship CJS masquerading as ESM -- however, the wasm-pack standalone build (browser) is not compatible with node
  • Loading branch information
NullVoxPopuli committed Dec 13, 2023
1 parent 3ed36e0 commit 2c6060b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
},
"import": {
"types": "./index.d.ts",
"import": "./pkg/standalone.js",
"default": "./pkg/node/content_tag.cjs"
},
"require": {
Expand All @@ -37,7 +36,7 @@
"ci:node": "mocha",
"lint": "concurrently \"npm:lint:*(!fix)\" --names \"lint:\"",
"lint:package": "publint",
"lint:published-types": "attw --pack --ignore-rules cjs-resolves-to-esm",
"lint:published-types": "attw --pack --ignore-rules cjs-resolves-to-esm --ignore-rules false-esm",
"start": "vite",
"test": "npm run ci:node"
},
Expand Down

0 comments on commit 2c6060b

Please sign in to comment.