chore: Add fetch-retry, remove isomorphic-fetch (#2297)

* chore: Add fetch-retry, remove isomorphic-fetch

closes #2270

* test: Mock fetch
This commit is contained in:
Tom Moor
2021-07-09 04:07:18 -07:00
committed by GitHub
parent b5e4e4fe82
commit 0e7d352781
5 changed files with 36 additions and 38 deletions

View File

@ -57,9 +57,6 @@ module.exports = {
new webpack.DefinePlugin({
EDITOR_VERSION: JSON.stringify(pkg.version)
}),
new webpack.ProvidePlugin({
fetch: 'imports-loader?this=>global!exports-loader?global.fetch!isomorphic-fetch',
}),
new webpack.IgnorePlugin(/unicode\/category\/So/),
new HtmlWebpackPlugin({
template: 'server/static/index.html',