Grunt provides a
compiler and
watch to detect changes in ES6 code and generates the corresponding ES3 code.In this
demo,”
We will learn how to implement Grunt for Traceur compiler for ES6 code”.We need to install Grunt
locally to project using following command
npm install grunt.The following screenshot shows the
terminal with Grunt installation in project.
The 2 modules for Traceur Grunt modules are
grunt-traceur-latest and
grunt-contrib-watch.The
grunt-traceur-latest module is grunt
plug-in...
Published on February 21, 2015 09:19