mirror of
https://github.com/elyby/accounts-frontend.git
synced 2025-01-12 06:42:09 +05:30
Drop providePlugin usage for react
This commit is contained in:
parent
93e165667e
commit
c1c9d46fda
@ -136,11 +136,6 @@ const webpackConfig = {
|
|||||||
changeFreq: 'weekly'
|
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
|
// restrict webpack import context, to create chunks only for supported locales
|
||||||
// @see services/i18n.js
|
// @see services/i18n.js
|
||||||
new webpack.ContextReplacementPlugin(
|
new webpack.ContextReplacementPlugin(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user