Skip to content

Commit

Permalink
Add i18n to peer deps
Browse files Browse the repository at this point in the history
  • Loading branch information
kalysti committed Oct 24, 2023
1 parent a15f832 commit 47dcc53
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@himalaya-ui/core",
"version": "0.0.6",
"version": "0.0.7",
"main": "dist/framework/index.js",
"module": "dist/framework-esm/index.js",
"types": "dist/framework-esm/index.d.ts",
Expand Down Expand Up @@ -203,7 +203,8 @@
"react-dom": ">=18.2.0",
"react-swipeable": ">=7.0.1",
"styled-jsx": "^5.1.2",
"@splidejs/splide": "^4.1.4"
"@splidejs/splide": "^4.1.4",
"react-i18next": "^13.2.2"
},
"dependencies": {
"@babel/runtime": "^7.23.1"
Expand Down
3 changes: 1 addition & 2 deletions scripts/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,10 @@ const globals = {
}

const external = id =>
/^react|react-dom|styled-jsx|moment|fancy-canvas|@splidejs\/splide|next\/link|next\/navigation/.test(id)
/^react|react-dom|styled-jsx|moment|fancy-canvas|@splidejs\/splide|next|react-i18next|\/link|next\/navigation/.test(id)

const cjsOutput = {
format: 'cjs',

exports: 'named',
entryFileNames: '[name]/index.js',
dir: distPath,
Expand Down

0 comments on commit 47dcc53

Please sign in to comment.