From 42b88690550212c57d3a4f98521d87c20dd4284c Mon Sep 17 00:00:00 2001 From: RgnDunes Date: Fri, 12 Apr 2024 12:33:05 +0530 Subject: [PATCH] [fix]: rollup json import fix --- .changeset/chilly-timers-impress.md | 4 ++-- packages/i18nify-js/rollup.config.mjs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.changeset/chilly-timers-impress.md b/.changeset/chilly-timers-impress.md index 7281b971..6f57068b 100644 --- a/.changeset/chilly-timers-impress.md +++ b/.changeset/chilly-timers-impress.md @@ -1,5 +1,5 @@ --- -"@razorpay/i18nify-js": minor +'@razorpay/i18nify-js': patch --- -feat: refactoring currency module to use central geo data [ATLAS-167] +feat: refactoring currency module to use central geo data diff --git a/packages/i18nify-js/rollup.config.mjs b/packages/i18nify-js/rollup.config.mjs index ac4105ef..aef9398b 100644 --- a/packages/i18nify-js/rollup.config.mjs +++ b/packages/i18nify-js/rollup.config.mjs @@ -74,7 +74,7 @@ const declarationTypes = modules.map((_module) => ({ file: `lib/esm/${_module.name}/index.d.ts`, format: 'es', }, - plugins: [dts()], + plugins: [dts(), json()], })); export default [ @@ -148,6 +148,6 @@ export default [ file: 'lib/types/index.d.ts', format: 'es', }, - plugins: [dts()], + plugins: [dts(), json()], }, ];