I want to use babelOptions: {sourceMap: ‘inline’}, but I don’t know where to insert the babelOptions.
I’ve tried these:
build.js:
var stealTools = require('steal-tools');
//var babel = require('babel-core');
stealTools.build({
config: __dirname + '/package.json!npm'
},
{
bundleSteal: true,
minify: true,
babelOptions: {
sourceMap: 'inline'
}
}
);
and/or in package.json:
"steal": {
"babelOptions": {
"sourceMap": "inline"
}
},
neither one of them has any effect. Am I doing something wrong here?