Skip to content

Commit

Permalink
Merge pull request #1669 from glimmerjs/glimmer-syntax-needs-a-cjs-ou…
Browse files Browse the repository at this point in the history
…tput

Fix #1668: Node does not use the 'development' condition with default require() - this PR removes the `development` condition under `require` for `@glimmer/syntax` and dependents.
  • Loading branch information
NullVoxPopuli authored Nov 27, 2024
2 parents 5507a1f + 608d54a commit 36e202a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
6 changes: 2 additions & 4 deletions packages/@glimmer/syntax/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,8 @@
"exports": {
".": {
"require": {
"development": {
"types": "./dist/dev/index.d.cts",
"default": "./dist/dev/index.cjs"
}
"types": "./dist/dev/index.d.cts",
"default": "./dist/dev/index.cjs"
},
"default": {
"development": {
Expand Down
6 changes: 2 additions & 4 deletions packages/@glimmer/util/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,8 @@
"exports": {
".": {
"require": {
"development": {
"types": "./dist/dev/index.d.cts",
"default": "./dist/dev/index.cjs"
}
"types": "./dist/dev/index.d.cts",
"default": "./dist/dev/index.cjs"
},
"default": {
"development": {
Expand Down
6 changes: 2 additions & 4 deletions packages/@glimmer/wire-format/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,8 @@
"exports": {
".": {
"require": {
"development": {
"types": "./dist/dev/index.d.cts",
"default": "./dist/dev/index.cjs"
}
"types": "./dist/dev/index.d.cts",
"default": "./dist/dev/index.cjs"
},
"default": {
"development": {
Expand Down

0 comments on commit 36e202a

Please sign in to comment.