chore: improve bundle size and remove url-polifill (#2070)

This commit is contained in:
Alex Varchuk 2022-07-06 12:33:40 +03:00 committed by GitHub
parent 87541e45dc
commit f8c30e5e57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -125,7 +125,6 @@
"ts-node": "^10.0.0", "ts-node": "^10.0.0",
"typescript": "~4.1.0", "typescript": "~4.1.0",
"unfetch": "^4.2.0", "unfetch": "^4.2.0",
"url-polyfill": "^1.1.12",
"webpack": "^5.38.1", "webpack": "^5.38.1",
"webpack-cli": "^4.7.2", "webpack-cli": "^4.7.2",
"webpack-dev-server": "^4.6.0", "webpack-dev-server": "^4.6.0",
@ -167,6 +166,14 @@
{ {
"path": "./bundles/redoc.standalone.js", "path": "./bundles/redoc.standalone.js",
"limit": "350 kB" "limit": "350 kB"
},
{
"path": "./bundles/redoc.lib.js",
"limit": "100 kB"
},
{
"path": "./bundles/redoc.browser.lib.js",
"limit": "100 kB"
} }
], ],
"jest": { "jest": {