-
-
Notifications
You must be signed in to change notification settings - Fork 958
chore: remove babel-plugin-lodash #4107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: next
Are you sure you want to change the base?
Conversation
Review or Edit in CodeSandboxOpen the branch in Web Editor • VS Code • Insiders |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped Deployment
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## next #4107 +/- ##
=======================================
Coverage 89.51% 89.51%
=======================================
Files 520 520
Lines 12381 12381
Branches 3180 3180
=======================================
Hits 11083 11083
Misses 635 635
Partials 663 663
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
This pull request focuses on removing the
lodash
library and its related plugins from the project, as well as updating import statements to use specific lodash functions. Additionally, it includes a minor change to an ESLint directive in thewebpack.config.js
file.Removal of lodash and related plugins:
babel.config.js
: Removed the 'lodash' plugin from the Babel plugins list.package.json
: Removedbabel-plugin-lodash
andlodash-webpack-plugin
from the dependencies. [1] [2]webpack.config.js
: RemovedLodashModuleReplacementPlugin
and its configuration.Update of lodash import statements:
src/CheckTree/utils.ts
: Changed import statements to import specific lodash functions (isNil
,isUndefined
).src/CheckTreePicker/CheckTreePicker.tsx
: Changed import statements to import specific lodash functions (isNil
,pick
,isFunction
,omit
).ESLint directive update:
webpack.config.js
: Updated ESLint directive to use@typescript-eslint/no-require-imports
instead of@typescript-eslint/no-var-requires
.