Hi i'm using babel with react and grunt and have the following in my grunt file
presets: ['es2015', 'react']
cwd: 'src/resources/js/app/', // Custom folder
dest: 'src/resources/js/', // Custom folder
This works great and converts the jsx in js and then i have another task that mins it.
I then wanted to use this react plugin https://github.com/JedWatson/classnames and i dont have node.js, browserify or webpack but want to use the "var classNames = require('classnames');" instead of downloading the file and hosting it myself
is there anyway of doing this using babel or is this something that babel can't do?