Skip to content

Commit

Permalink
fix: new size-limit config
Browse files Browse the repository at this point in the history
  • Loading branch information
simodrws committed Aug 16, 2023
1 parent 4422289 commit 416f896
Show file tree
Hide file tree
Showing 3 changed files with 811 additions and 37 deletions.
20 changes: 20 additions & 0 deletions .size-limit.json
Expand Up @@ -4,9 +4,29 @@
"limit": "10MB",
"webpack": false
},
{
"path": "dist/browser/masa-react.cjs2.min.js",
"limit": "10MB",
"webpack": false
},
{
"path": "dist/browser/masa-react.window.min.js",
"limit": "10MB",
"webpack": false
},
{
"path": "dist/browser/masa-react.umd.min.js",
"limit": "10MB",
"webpack": false
},
{
"path": "dist/browser/masa-react.amd.min.js",
"limit": "10MB",
"webpack": false
},
{
"path": "dist/css/styles.css",
"limit": "10MB",
"webpack": false
}
]
7 changes: 6 additions & 1 deletion package.json
Expand Up @@ -61,6 +61,11 @@
"@babel/preset-env": "^7.22.9",
"@babel/preset-react": "^7.22.3",
"@babel/preset-typescript": "^7.22.5",
"@size-limit/file": "^8.2.6",
"@size-limit/preset-big-lib": "^8.2.6",
"@size-limit/webpack": "^8.2.6",
"@size-limit/webpack-css": "^8.2.6",
"@size-limit/webpack-why": "^8.2.6",
"@storybook/addon-essentials": "^7.3.1",
"@storybook/addon-links": "^7.3.1",
"@storybook/addon-styling": "^1.3.6",
Expand Down Expand Up @@ -99,7 +104,7 @@
"rimraf": "^5.0.0",
"sass": "^1.62.1",
"sass-loader": "^13.3.2",
"size-limit": "^8.1.0",
"size-limit": "^8.2.6",
"storybook": "^7.3.1",
"ts-jest": "^29.1.1",
"tsconfig-paths-webpack-plugin": "^4.1.0",
Expand Down

0 comments on commit 416f896

Please sign in to comment.