babel-relay-plugin-loader
babel-relay-plugin-loader copied to clipboard
The console.logs are causing syntax errors now with ES6
if (schema) {
//console.log(`babel-relay-plugin-loader: using schema at [${schemaPath}]`);
module.exports = getbabelRelayPlugin(schema.data);
} else {
// console.log(`babel-relay-plugin-loader: no schema found at [${schemaPath}]`);
// console.log('babel-relay-plugin-loader: babel will continue without the babel-relay-plugin!');
module.exports = function () {
return {
visitor: {
}
};
};
}
@tobkle I am OK with removing the console logs all together if nobody has objections to it?
Yes, I would recommend just removing them
OK, I pushed and published 0.8.1-nologs
for now and with the next version of babel-relay-plugin
we should just continue without console logs and without the -nologs
tag as normal.