-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Cannot split a chunk that has already been edited (Watch API only) #4415
Comments
Excuse me if I am asking too early, but do we have any updates on this? This is stopping a very crucial function of our build tool. I am also trying to figure out the issue myself but no leads now. |
This error is usually generated by magicstring, which is responsible for generating sourcemaps in Rollup and some other plugins. Did not find time to look into this, though. |
I hope someone will pick it soon |
Hi @lukastaegert, were you able to look into this? Thanks |
We finally have a fix for this at #4589 |
Rollup Version
2.67.3
Operating System (or Browser)
Windows
Node Version (if applicable)
16
Link To Reproduction
https://github.com/haseebanwar/rollup-issue
After cloning the repo, if you run
It will work fine but if you run
You will see the error
Expected Behaviour
It bundles
Actual Behaviour
It doesn't bundle
I am using rollup-plugin-terser as an output plugin. Not sure if this is an error from rollup or the terser plugin. The reason I am creating an issue here first is that rollup only throws this error when I use the watch API. It works fine with
rollup.rollup
function.#2660 and #2676 looks familiar
The text was updated successfully, but these errors were encountered: