mirror of https://github.com/lukechilds/rollup.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
568 B
20 lines
568 B
module.exports = {
|
|
description: 'preserves sourcemap chains when transforming',
|
|
options: {
|
|
plugins: [
|
|
{
|
|
name: 'fake plugin',
|
|
transform: function ( code ) {
|
|
return code;
|
|
}
|
|
}
|
|
]
|
|
},
|
|
warnings: [
|
|
{
|
|
code: `SOURCEMAP_BROKEN`,
|
|
message: `Sourcemap is likely to be incorrect: a plugin ('fake plugin') was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help`,
|
|
url: `https://github.com/rollup/rollup/wiki/Troubleshooting#sourcemap-is-likely-to-be-incorrect`
|
|
}
|
|
]
|
|
};
|
|
|