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
description: 'preserves sourcemap chains when transforming',
options: {
plugins: [
{
name: 'fake plugin 1',
transform(code) {
return code;
}
},
{
name: 'fake plugin 2',
transform(code) {
return { code, map: null };
},
transformBundle(code) {
return { code, map: null };
}
}
]
},
warnings: [
{
code: `SOURCEMAP_BROKEN`,
plugin: 'fake plugin 1',
message: `Sourcemap is likely to be incorrect: a plugin ('fake plugin 1') was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help`,