Skip to content

node_modules/deep-object-diff/dist/index.js: Unknown plugin "add-module-exports" specified in package.json #33

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

Closed
tigranbalayan opened this issue May 7, 2018 · 2 comments

Comments

@tigranbalayan
Copy link

tigranbalayan commented May 7, 2018

can not bundle with react-native

@mattphillips
Copy link
Owner

HI @tigranbalayan would you be able to supply a minimal repo with a reproduction?

All you should need to do is either:

const { diff } = require('deep-object-diff');

// OR

import { diff } from 'deep-object-diff';

add-module-exports plugin is used by deep-object-diff to build the package and should never be exposed to users of the package

@ericconstantinides
Copy link

I got the same error. A quick fix was to delete the "babel" portion from the deep-object-diff's package.json. I'm sure @mattphillips has a better solution but this worked in the interim.

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

No branches or pull requests

3 participants