2016-06-23 14:53:52 +00:00
|
|
|
// Compile ECMA6 to ECMA5
|
2016-06-23 13:27:27 +00:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
module.exports = function (grunt) {
|
|
|
|
return {
|
|
|
|
options: {
|
|
|
|
sourceMap: true,
|
|
|
|
presets: ['es2015']
|
|
|
|
},
|
|
|
|
dist: {
|
|
|
|
files: {
|
|
|
|
'dist/js/AdminLTE.js': 'build/js/AdminLTE.js'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|