Skip to content

Commit

Permalink
fix(): sideEffects to false for shrinking bundle size (#1129)
Browse files Browse the repository at this point in the history
  • Loading branch information
semoal authored Sep 6, 2021
1 parent 3b449b7 commit 57cd2e5
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
},
{
"path": "./packages/remote-loader/build/cjs/remote-loader.production.min.js",
"limit": "5 kB"
"limit": "1 MB"
}
]
}
1 change: 1 addition & 0 deletions packages/conf/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "@lingui/conf",
"version": "3.10.4",
"sideEffects": false,
"description": "Get lingui configuration from package.json",
"keywords": [
"lingui",
Expand Down
1 change: 1 addition & 0 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "@lingui/core",
"version": "3.10.4",
"sideEffects": false,
"description": "I18n tools for javascript",
"main": "index.js",
"module": "esm/index.js",
Expand Down
1 change: 1 addition & 0 deletions packages/detect-locale/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "@lingui/detect-locale",
"version": "3.10.4",
"sideEffects": false,
"description": "@Lingui package to help you find the correct browser/server locale",
"main": "index.js",
"module": "esm/index.js",
Expand Down
1 change: 1 addition & 0 deletions packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "@lingui/react",
"version": "3.10.4",
"sideEffects": false,
"description": "React components for translations",
"main": "index.js",
"module": "esm/index.js",
Expand Down
1 change: 1 addition & 0 deletions packages/remote-loader/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "@lingui/remote-loader",
"version": "3.10.4",
"sideEffects": false,
"description": "Load remotely your translations",
"main": "index.js",
"module": "esm/remote-loader.production.min.js",
Expand Down

1 comment on commit 57cd2e5

@vercel
Copy link

@vercel vercel bot commented on 57cd2e5 Sep 6, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.