export default function ({file}) {
let plugins = [];
if (file === 'main.js') {
plugins.push('transform-remove-console');
}
return {
presets: ['es2015'],
plugins
}
}
Created
March 12, 2017 20:12
-
-
Save xtuc/4e4b212b74f76b1e82c489965862ffcf to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment