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

Getting rid of NPM #112

Open
ryan-senn opened this issue Dec 12, 2024 · 0 comments
Open

Getting rid of NPM #112

ryan-senn opened this issue Dec 12, 2024 · 0 comments

Comments

@ryan-senn
Copy link

With Phoenix removing NPM entirely, it feels really bad needing it again for Salad UI. From what I can see, it is only used for tailwind-animate, which is essentially one file: https://github.com/jamiebuilds/tailwindcss-animate/blob/main/index.js

Here is what it says on my machine:

Installing tailwindcss-animate
added 113 packages in 7s

Seems a bit crazy to me. I suggest adopting what phoenix did, and simply add a vendor folder with the files needed. See assets/vendor/topbar.js in a new phoenix install.

This way folks don't need node, npm and installing 113 packages just for one file...

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

1 participant