Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

lodash.min.js is not removed from the bundle #243

Open
voronianski opened this issue Jan 19, 2021 · 2 comments
Open

lodash.min.js is not removed from the bundle #243

voronianski opened this issue Jan 19, 2021 · 2 comments

Comments

@voronianski
Copy link

voronianski commented Jan 19, 2021

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 { funcName } from 'lodash/fp' everywhere across the code.

image

This happens in an old legacy app and tried to repro with a clean setup without no luck, so I cannot provide the proper reproducible environment for now.

Maybe someone did experience the same issue before? Or maintainers know what could be the potential cause of this plugin not working?

Thanks!

@grzegorzjudas
Copy link

Same here. Was sure I'm missing something, but now I'm having doubts it's the setup. Planned on making a clean setup next to see what's going to happen, like you, actually.

@0xdevalias
Copy link

Potentially related:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

3 participants