Provide a non-minified version of the plugin for standalone install #3692
Replies: 3 comments
-
Hey, I'm open to release it as a separate package, but first I need to know why is it required? |
Beta Was this translation helpful? Give feedback.
-
Thanks for considering this. So, as I mentioned, we're probably going to be adding DaisyUI to Phoenix by default. This means all new applications generated with the phoenix installer will include the standalone daisyUI script in their application. We deliberately moved away from having a dependency on Node.JS/npm a few releases ago, as many of the issues raised on the project were due to version incompatabilities. So the main reasons for being able to see the source code are:
This could also point users towards daisyUI, similar to how topbar (which we also vendor) does https://github.com/Gazler/dayzee/blob/master/assets/vendor/topbar.js#L6 - if not, we can include this in comments in our |
Beta Was this translation helpful? Give feedback.
-
Thanks. Can be downloaded like:
I used Bun instead of Rollup, as it was already the build tool for daisyUI. |
Beta Was this translation helpful? Give feedback.
-
Currently the instructions for the standalone plugin, depend on a version of the plugin compiled by jsDelivr. This is great, and the standalone install for Tailwind 4 is a great way to install (we are adding this by default to the Phoenix Framework installer https://github.com/phoenixframework/phoenix).
In the standalone install, since the plugin is being vendored and imported, but not included in a build, it would be nice if it was unminified (even if shipped via jsDelivr.)
Beta Was this translation helpful? Give feedback.
All reactions