Skip to content

Commit

Permalink
Allow direct importing of the standalone module
Browse files Browse the repository at this point in the history
When bundling content-tag tag in a WebWorker, building with rollup will not use the `browser` condition, and fallback to the node imports. We don't want that, so we need a way to import the explicit standalone build of content-tag.
  • Loading branch information
NullVoxPopuli authored Dec 13, 2024
1 parent 5bed7d6 commit 7c6c2df
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
"types": "./index.d.ts",
"default": "./pkg/standalone.js"
},
"./standalone": {
"types": "./index.d.ts",
"default": "./pkg/standalone.js"
},
"default": {
"types": "./index.d.cts",
"default": "./pkg/node.cjs"
Expand Down

0 comments on commit 7c6c2df

Please sign in to comment.