### Reproduction link or steps https://bundler.sxzz.dev/#eNrtUT1vwyAQ/SsnFhLJ8g9A8tihc8emg2WOiAofFh+tJYv/XqjtuEk9ZMoUBuDd4x539yammJiYJoljHXy5ExMbrlhXYD9YF4C35LXnJ8phZCK4iKlizhoj7TfVnSWlz/XnRWWHmfVw/NWTqNpoAkwnAhhMPGvyAt4LgjlYFrU9CuA4BnTUGl6thENvzRe+yoOWFcw1ojtumQBaQSahaZq1+Ct6ebBk1po6EyX6A++tzN3z483r8meIjmCC8uVakoAyigpyVjT4piW+KIVdyM2o1niE9FckAZbY/cI36Ru4XNMyk/n8yHumWPZm7mP1Y0F7nv5zNA77fl7Fn24+0M2UfgBXKxww - Switch to Rolldown - Click anchor icon of `mod.ts` for enable/disable entry file, repeatly https://github.com/user-attachments/assets/1777a327-5af0-4d6c-9859-3ec0f17263a0 ### What is expected? A consistent behavior: - In Rollup, the `ansis` import is always not tree-shaken. - In my opinion, it should be tree-shaken if `moduleSideEffects` is set to `false` and not set to `true` (`undefined`) anywhere. ### What is actually happening? The `ansis` import is sometimes removed (tree-shaken) unpredictably. ### System Info ```Shell N/A ``` ### Any additional comments? _No response_