You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
AdminLTE/build/grunt/babel.js

24 lines
780 B

// Compile ES2015 to JS
'use strict';
module.exports = function (grunt) {
return {
options: {
sourceMap: true,
presets : ['es2015']
},
dist : {
files: {
'build/js/dist/Layout.js' : 'build/js/src/Layout.js',
'build/js/dist/Treeview.js' : 'build/js/src/Treeview.js',
'build/js/dist/PushMenu.js' : 'build/js/src/PushMenu.js',
'build/js/dist/Widget.js' : 'build/js/src/Widget.js',
'build/js/dist/ControlSidebar.js': 'build/js/src/ControlSidebar.js',
'build/js/dist/Search.js' : 'build/js/src/Search.js',
'build/js/dist/SiteSearch.js' : 'build/js/src/SiteSearch.js',
'dist/js/adminlte.js' : 'build/js/src/AdminLTE.js'
}
}
};
};