Skip to content

Commit

Permalink
Merge pull request #1708 from glimmerjs/bring-back-cjs-for-glimmer-sy…
Browse files Browse the repository at this point in the history
…ntax

Bring back cjs for glimmer syntax
  • Loading branch information
NullVoxPopuli authored Feb 11, 2025
2 parents adf6a49 + 24b251a commit d48c3d9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions packages/@glimmer/syntax/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
},
"type": "module",
"exports": "./index.ts",
"repo-meta": {
"supportcjs": true
},
"publishConfig": {
"access": "public",
"exports": {
Expand All @@ -17,6 +20,9 @@
"types": "./dist/dev/index.d.ts",
"default": "./dist/dev/index.js"
},
"require": {
"default": "./dist/dev/index.cjs"
},
"default": {
"types": "./dist/prod/index.d.ts",
"default": "./dist/prod/index.js"
Expand Down
3 changes: 2 additions & 1 deletion repo-metadata/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,8 @@
"type": "module",
"private": false,
"repo-meta": {
"built": true
"built": true,
"supportcjs": true
},
"entryPoints": {
".": [[["default"], "./index.ts"]]
Expand Down

0 comments on commit d48c3d9

Please sign in to comment.