Skip to content

Commit

Permalink
fix(l10n): explicitly include export file for supported locales
Browse files Browse the repository at this point in the history
  • Loading branch information
emmenko committed Oct 1, 2024
1 parent 545f22d commit 5538de6
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/swift-squids-clean.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@commercetools-frontend/l10n': patch
---

Explicitly include `supported-locales` export and type declarations from bundle.
10 changes: 9 additions & 1 deletion packages/l10n/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,15 @@
},
"main": "dist/commercetools-frontend-l10n.cjs.js",
"module": "dist/commercetools-frontend-l10n.esm.js",
"files": ["data", "dist", "package.json", "LICENSE", "README.md"],
"files": [
"data",
"dist",
"package.json",
"LICENSE",
"README.md",
"supported-locales.d.ts",
"supported-locales.js"
],
"scripts": {
"generate-data": "node ./scripts/generate-l10n-data.js"
},
Expand Down

0 comments on commit 5538de6

Please sign in to comment.