Will & Skill Developers

Will & Skill Developers

Thoughts, snippets and ideas from the team at Will & Skill AB, Stockholm.


Using ES6 with AngularJS and gulp

To use ES6 code in your AngularJS project along with gulp you’re going to need to transpile the ES6 code into ES5 code using babel. First, install the necessary packages: npm install babel-core babel-preset-env gulp-babel In your package.json, after dependencies and devDependencies, add "babel”: { “presets”: { […

Andreas HalldénAndreas Halldén