Skip to content
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

lodash/merge dependency #9

Open
domchristie opened this issue Jun 7, 2022 · 4 comments · May be fixed by #15
Open

lodash/merge dependency #9

domchristie opened this issue Jun 7, 2022 · 4 comments · May be fixed by #15

Comments

@domchristie
Copy link
Contributor

domchristie commented Jun 7, 2022

lodash is not included in the package.json dependencies, but I think the lodash/merge function can be replaced by Object.assign

Edit: weird: it is included in the dependencies, but didn't install for some reason.

@joshuaiz
Copy link

@domchristie @chrispymm Getting this issue with 1.0.5 even after installing lodash/merge directly. How can I get around this?

Also @chrispymm the npm version of this is still 1.0.4 and does not work with Tailwind 3.x

@joshuaiz
Copy link

In /tailwind-utopia/index.js:

Line 5 should be:
const merge = require('lodash.merge');

not

lodash/merge

@domchristie
Copy link
Contributor Author

@joshuaiz I have been working on a fork if you're interested: https://github.com/domchristie/tailwind-utopia Note: it has a different API

@joshuaiz
Copy link

@domchristie yep using your fork now - sorted. Thank you.

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

Successfully merging a pull request may close this issue.

2 participants