This repository was archived by the owner on Oct 9, 2020. It is now read-only.

Description
I will like to have more options for specifying babel's inputSourceMap option.
I believe this can be implemented quite easily by adding support for providing a callback through babelOptions.
Usage example:
meta: {
'*.js': {
babelOptions: {
sourceMaps: true,
provideInputSourceMap: function(load) {
return null;
}
}
}
}
To implement this support, line 176 in plugin-babel.js needs to be changed from
inputSourceMap: load.metadata.sourceMap,
to
inputSourceMap: (babelOptions.provideInputSourceMap && babelOptions.provideInputSourceMap(load)) || load.metadata.sourceMap,
I can provide PR if needed.
Tnx