-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
bugSomething isn't workingSomething isn't working
Description
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 build
include: ["some-pattern-that-matches-nothing"], // <-- This does not cause any issues, but obviously assertions are not removed.
}),
],
},
},
}
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working