@gravity-ui/app-builder 0.6.4 → 0.6.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.6.5](https://github.com/gravity-ui/app-builder/compare/v0.6.4...v0.6.5) (2023-08-16)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * replace babel-plugin-lodash with babel-plugin-import ([#65](https://github.com/gravity-ui/app-builder/issues/65)) ([73b6a3e](https://github.com/gravity-ui/app-builder/commit/73b6a3e5bd340ea3b41ecfc7e61575668eb5f474))
9
+
3
10
  ## [0.6.4](https://github.com/gravity-ui/app-builder/compare/v0.6.3...v0.6.4) (2023-08-04)
4
11
 
5
12
 
@@ -271,7 +271,10 @@ function createJavaScriptLoader({ isEnvProduction, isEnvDevelopment, config, })
271
271
  }
272
272
  : undefined,
273
273
  ],
274
- isEnvProduction && require.resolve('babel-plugin-lodash'),
274
+ isEnvProduction && [
275
+ require.resolve('babel-plugin-import'),
276
+ { libraryName: 'lodash', libraryDirectory: '', camel2DashComponentName: false },
277
+ ],
275
278
  ].filter(Boolean),
276
279
  sourceType: 'unambiguous',
277
280
  cacheDirectory: config.babelCacheDirectory ? config.babelCacheDirectory : true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravity-ui/app-builder",
3
- "version": "0.6.4",
3
+ "version": "0.6.5",
4
4
  "description": "Develop and build your React client-server projects, powered by typescript and webpack",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -73,8 +73,8 @@
73
73
  "@svgr/plugin-jsx": "^8.0.1",
74
74
  "@svgr/webpack": "^8.0.1",
75
75
  "babel-loader": "^9.1.2",
76
+ "babel-plugin-import": "^1.13.8",
76
77
  "babel-plugin-inline-react-svg": "^2.0.2",
77
- "babel-plugin-lodash": "^3.3.4",
78
78
  "babel-plugin-transform-react-remove-prop-types": "^0.4.24",
79
79
  "browserslist": "^4.21.9",
80
80
  "chalk": "^4.1.2",