Fix typo in webpack.config.ts comment

Change-type: patch
This commit is contained in:
Alexis Svinartchouk 2020-12-23 19:42:13 +01:00
parent 3521b61a81
commit e8c7591751

View File

@ -276,7 +276,7 @@ const commonConfig = {
format: process.env.WEBPACK_PROGRESS || 'verbose', format: process.env.WEBPACK_PROGRESS || 'verbose',
}), }),
// Force axios to use http.js, not xhr.js as we need stream support // Force axios to use http.js, not xhr.js as we need stream support
// (it's package.json file replaces http with xhr for browser targets). // (its package.json file replaces http with xhr for browser targets).
new NormalModuleReplacementPlugin( new NormalModuleReplacementPlugin(
slashOrAntislash(/node_modules\/axios\/lib\/adapters\/xhr\.js/), slashOrAntislash(/node_modules\/axios\/lib\/adapters\/xhr\.js/),
'./http.js', './http.js',