babel-plugin-lodash
babel-plugin-lodash copied to clipboard
Modular Lodash builds without the hassle.
I know lodash provides a more cool package `lodash-es`, but for some people, they just want to use package `lodash` which sounds better. So, It will be very helpful if...
What the title says. Am I still able to use `import _ from 'lodash'` with this plugin that will extract only those functions that are actually used, in the final...
``` js Error at //if (!module.get(base).has(lower)) resolvePath (D:\Desktop\xxxx\node_modules\[email protected]@babel-plugin-lodash\lib\importModule.js:22:24) ``` ### That is Why After dependency `glob` update v7.2.0 to v7.2.2, [the common.js of glob added 'options.allowWindowsEscape = true'](https://github.com/isaacs/node-glob/compare/v7.2.0...v7.2.2), ``` js...
Bumps [async](https://github.com/caolan/async) from 2.6.1 to 2.6.4. Changelog Sourced from async's changelog. v2.6.4 Fix potential prototype pollution exploit (#1828) v2.6.3 Updated lodash to squelch a security warning (#1675) v2.6.2 Updated lodash...
Bumps [lodash-es](https://github.com/lodash/lodash) from 4.17.10 to 4.17.21. Commits f299b52 Bump to v4.17.21 c4847eb Improve performance of toNumber, trim and trimEnd on large input strings 3469357 Prevent command injection through _.template's variable...
why does not the babel-plugin-lodash work in pnpm?
## Why the build size is so large? Working example: https://github.com/krystian50/babel-plugin-lodash-issue The only lodash related code is: ``` import './index.html'; import _fp from 'lodash/fp'; const value = _fp.map(el => el...
I'm using Next.js with latest lodash v4.17.20 and latest babel-plugin-lodash v3.3.4 however for some reason I always get `lodash.min.js` inside the bundle. As for the imports it's used as `import...
If a folder contains `index.js`, then we add the folder name as an available namespace in the plugin cache. Moreover, we try to handle different styles for dir names (lowercase,...
Necessary for native ESM support. ### Source ```js import { forEach } from "lodash"; ``` ### Actual ```js import _forEach from "lodash/forEach"; ``` Node error: ``` internal/process/esm_loader.js:74 internalBinding('errors').triggerUncaughtException( ^ Error...