Skip to content

Commit 9872904

Browse files
committed
Add back in missing url.
1 parent 9fbdee0 commit 9872904

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

config/webpack/browser.config.babel.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,11 @@ const browser = {
4141
modules: ['node_modules'],
4242
extensions: ['.js', '.json'],
4343
fallback: {
44+
url: require.resolve('url'),
4445
http: require.resolve('stream-http'),
4546
https: require.resolve('https-browserify'),
4647
buffer: require.resolve('buffer'),
47-
path: require.resolve('path-browserify')
48+
path: require.resolve('path-browserify'),
4849
},
4950
},
5051
module,
@@ -77,7 +78,7 @@ const browserMin = cloneDeep(browser);
7778
browserMin.devtool = 'source-map';
7879
browserMin.performance = {
7980
hints: 'error',
80-
maxEntrypointSize: 270000,
81+
maxEntrypointSize: 310000,
8182
maxAssetSize: 1300000,
8283
};
8384
browserMin.output.filename = 'openapi-resolver.browser.min.js';

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@
9696
"@apidevtools/json-schema-ref-parser": "^9.0.9",
9797
"@babel/runtime-corejs3": "^7.18.9",
9898
"js-yaml": "^4.1.1",
99-
"lodash.clonedeepwith": "^4.5.0"
99+
"lodash.clonedeepwith": "^4.5.0",
100+
"url": "^0.11.4"
100101
}
101102
}

0 commit comments

Comments
 (0)