Skip to content

Commit 57cd2e5

Browse files
authored
fix(): sideEffects to false for shrinking bundle size (#1129)
1 parent 3b449b7 commit 57cd2e5

File tree

6 files changed

+6
-1
lines changed

6 files changed

+6
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@
125125
},
126126
{
127127
"path": "./packages/remote-loader/build/cjs/remote-loader.production.min.js",
128-
"limit": "5 kB"
128+
"limit": "1 MB"
129129
}
130130
]
131131
}

packages/conf/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "@lingui/conf",
33
"version": "3.10.4",
4+
"sideEffects": false,
45
"description": "Get lingui configuration from package.json",
56
"keywords": [
67
"lingui",

packages/core/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "@lingui/core",
33
"version": "3.10.4",
4+
"sideEffects": false,
45
"description": "I18n tools for javascript",
56
"main": "index.js",
67
"module": "esm/index.js",

packages/detect-locale/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "@lingui/detect-locale",
33
"version": "3.10.4",
4+
"sideEffects": false,
45
"description": "@Lingui package to help you find the correct browser/server locale",
56
"main": "index.js",
67
"module": "esm/index.js",

packages/react/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "@lingui/react",
33
"version": "3.10.4",
4+
"sideEffects": false,
45
"description": "React components for translations",
56
"main": "index.js",
67
"module": "esm/index.js",

packages/remote-loader/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "@lingui/remote-loader",
33
"version": "3.10.4",
4+
"sideEffects": false,
45
"description": "Load remotely your translations",
56
"main": "index.js",
67
"module": "esm/remote-loader.production.min.js",

0 commit comments

Comments
 (0)