uses babel to transpile stage 0 ecmascript features into ecmascript 5
First set up a mspg project.
then, in src/config.js
import JS from '@mspg/transpile-babel'
export default {
TRANSPILERS: {
JS,
},
}
Every js file in the /src directory will be transpiled separately. To use libraries just put them into /includes/js and require them from there.