refactor: [UEPR-55] updated react-intl from v2 to v6

This commit is contained in:
MiroslavDionisiev 2024-09-20 15:39:22 +03:00
parent 5f12985de8
commit fed5087e9d
13 changed files with 476 additions and 343 deletions

View file

@ -17,7 +17,12 @@ const base = {
rules: [{
test: /\.jsx?$/,
loader: 'babel-loader',
include: path.resolve(__dirname, 'src'),
include: [
path.resolve(__dirname, 'src'),
path.join(__dirname, 'node_modules/react-intl'),
path.join(__dirname, 'node_modules/intl-messageformat'),
path.join(__dirname, 'node_modules/intl-messageformat-parser')
],
options: {
plugins: ['transform-object-rest-spread'],
presets: [