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.

22 lines
406 B

module.exports = {
description: 'handles transforms that return stringified source maps (#377)',
options: {
plugins: [
{
transform: function ( code ) {
return {
code: code,
// just stringify an otherwise acceptable source map
map: JSON.stringify({ mappings: '' })
};
}
}
]
},
// ensure source maps are generated
bundleOptions: {
sourceMap: true
}
};