mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-11-30 02:32:58 +05:30
Drop providePlugin usage for react
This commit is contained in:
parent
93e165667e
commit
c1c9d46fda
@ -136,11 +136,6 @@ const webpackConfig = {
|
||||
changeFreq: 'weekly'
|
||||
}
|
||||
),
|
||||
// TODO: remove this in future. We should explicitly import:
|
||||
// `import React from 'react'` in each file, where it is required
|
||||
new webpack.ProvidePlugin({
|
||||
React: 'react'
|
||||
}),
|
||||
// restrict webpack import context, to create chunks only for supported locales
|
||||
// @see services/i18n.js
|
||||
new webpack.ContextReplacementPlugin(
|
||||
|
Loading…
Reference in New Issue
Block a user