In current npm package we are using next js server actions that makes the server side code so easy!
But now , in rollup I'm stuck at a problem where it won't allow me to write "use server" flags on server actions. I'm looking for a solution to resolve this issue on internet but haven't found anything useful yet.
If this issue of rollup ignoring flags gets solved the stable package will be released in just few days. Right now I have no idea how I'm gonna solve it but I'll try my best.
Overall rollup is a nice bundler. Only thing they lack is a good documentation.
--Webpack ❌
--Rollup ✅