Skip to content

Commit 3ff1923

Browse files
committed
decrease size, relax next.js peer dependency
1 parent dc36097 commit 3ff1923

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

packages/next-intl/.size-limit.ts

+7-7
Original file line numberDiff line numberDiff line change
@@ -4,30 +4,30 @@ const config: SizeLimitConfig = [
44
{
55
name: "import * from 'next-intl' (react-client, production)",
66
path: 'dist/esm/production/index.react-client.js',
7-
limit: '13.175 KB'
7+
limit: '13.065 KB'
88
},
99
{
1010
name: "import {NextIntlClientProvider} from 'next-intl' (react-client, production)",
1111
import: '{NextIntlClientProvider}',
1212
path: 'dist/esm/production/index.react-client.js',
13-
limit: '1.055 KB'
13+
limit: '1 KB'
1414
},
1515
{
1616
name: "import * from 'next-intl' (react-server, production)",
1717
path: 'dist/esm/production/index.react-server.js',
18-
limit: '14.085 KB'
18+
limit: '14.005 KB'
1919
},
2020
{
2121
name: "import {createNavigation} from 'next-intl/navigation' (react-client, production)",
2222
path: 'dist/esm/production/navigation.react-client.js',
2323
import: '{createNavigation}',
24-
limit: '2.525 KB'
24+
limit: '2.445 KB'
2525
},
2626
{
2727
name: "import {createNavigation} from 'next-intl/navigation' (react-server, production)",
2828
path: 'dist/esm/production/navigation.react-server.js',
2929
import: '{createNavigation}',
30-
limit: '3.385 KB'
30+
limit: '3.245 KB'
3131
},
3232
{
3333
name: "import * from 'next-intl/server' (react-client, production)",
@@ -37,12 +37,12 @@ const config: SizeLimitConfig = [
3737
{
3838
name: "import * from 'next-intl/server' (react-server, production)",
3939
path: 'dist/esm/production/server.react-server.js',
40-
limit: '13.365 KB'
40+
limit: '13.335 KB'
4141
},
4242
{
4343
name: "import * from 'next-intl/middleware' (production)",
4444
path: 'dist/esm/production/middleware.js',
45-
limit: '9.305 KB'
45+
limit: '9.265 KB'
4646
},
4747
{
4848
name: "import * from 'next-intl/routing' (production)",

packages/next-intl/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
"use-intl": "workspace:^"
117117
},
118118
"peerDependencies": {
119-
"next": "^13.3.0 || ^14.0.0 || ^15.0.0",
119+
"next": "^13.0.0 || ^14.0.0 || ^15.0.0",
120120
"react": "^17.0.0 || ^18.0.0 || >=19.0.0-rc <19.0.0",
121121
"typescript": "^5.0.0"
122122
},

0 commit comments

Comments
 (0)