matthewp on master
Add support for node 14 (modell… Try to generalize version Merge pull request #1157 from i… (compare)
directories
specified to try to fix the original problem. Removing them fixed everything. Thanks again
stealTools.build({
config: __dirname + "/package.json!npm",
meta: {
"moduleName": {
"translate": function(load) { ...transpile here? }
},
},{})
my translate function looks like this:
function(load){
var opts = {
modules: 'amd',
sourceMap: false
};
var src = Babel.transform(load.source, opts);
return src.code;
}
and the final file looks right, but I am getting this error:
Uncaught TypeError: Object.defineProperty called on non-object(…)