Inspired by this issue, with these instructions you should be able to get Babel transpiling your JS in Sails JS for the client side.
- Install Grunt Babel
npm install --save grunt-babel - Create a
babel.jsfile undertasks/configand add something like the following:
module.exports = function(grunt) {
grunt.config.set('babel', {
dev: {