You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Essentially the problem I've got is that when using this plugin, the production code produced is incorrect.
It seems that something is being changed that shouldn't be. However, I've spent ages trying to debug this but just can't figure out what's going wrong.
When I look at difference between the input and output code as it goes through this plugin, I can't spot anything changing that should be.
So I'm at a loss as to why this issue is happening.
I thought it still best to open this issue to document the problem though.
Vite config snippet:
{build: {rollupOptions: {plugins: [unassert({include: ["**/*.ts"],// <-- This causes issues with the buildinclude: ["some-pattern-that-matches-nothing"],// <-- This does not cause any issues, but obviously assertions are not removed.}),],},},}
The text was updated successfully, but these errors were encountered:
Essentially the problem I've got is that when using this plugin, the production code produced is incorrect.
It seems that something is being changed that shouldn't be. However, I've spent ages trying to debug this but just can't figure out what's going wrong.
When I look at difference between the input and output code as it goes through this plugin, I can't spot anything changing that should be.
So I'm at a loss as to why this issue is happening.
I thought it still best to open this issue to document the problem though.
Vite config snippet:
The text was updated successfully, but these errors were encountered: