changed es2015 and es6 names to simply es

This commit is contained in:
Kevin Ross 2016-02-05 10:41:01 -06:00
parent a2aa73257d
commit 82f45db96e
3 changed files with 6 additions and 5 deletions

View File

@ -153,8 +153,9 @@ module.exports = function (grunt) {
dist: { dist: {
files: { files: {
'dist/js/bootstrap-material-design.iife.min.js': 'dist/js/bootstrap-material-design.iife.js', 'dist/js/bootstrap-material-design.iife.min.js': 'dist/js/bootstrap-material-design.iife.js',
'dist/js/bootstrap-material-design.umd.min.js': 'dist/js/bootstrap-material-design.umd.js', 'dist/js/bootstrap-material-design.umd.min.js': 'dist/js/bootstrap-material-design.umd.js'
'dist/js/bootstrap-material-design.es6.min.js': 'dist/js/bootstrap-material-design.es6.js' //,
//'dist/js/bootstrap-material-design.es.min.js': 'dist/js/bootstrap-material-design.es.js'
} }
}, },
@ -460,7 +461,7 @@ module.exports = function (grunt) {
command: 'rollup -c grunt/rollup.umd.config.js' command: 'rollup -c grunt/rollup.umd.config.js'
}, },
'rollup-es2015': { 'rollup-es2015': {
command: 'rollup -c grunt/rollup.es2015.config.js' command: 'rollup -c grunt/rollup.es.config.js'
} }
}, },

View File

@ -3,5 +3,5 @@ import extend from 'extend'
export default extend(true, config, { export default extend(true, config, {
format: 'es6', format: 'es6',
dest: 'dist/js/bootstrap-material-design.es2015.js' dest: 'dist/js/bootstrap-material-design.es.js'
}) })

View File

@ -23,7 +23,7 @@
"style": "dist/css/bootstrap-material-design.css", "style": "dist/css/bootstrap-material-design.css",
"sass": "scss/_core.scss", "sass": "scss/_core.scss",
"main": "dist/js/bootstrap-material-design.umd.js", "main": "dist/js/bootstrap-material-design.umd.js",
"jsnext:main": "dist/bootstrap-material-design.es2015.js", "jsnext:main": "dist/bootstrap-material-design.es.js",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/FezVrasta/bootstrap-material-design.git" "url": "https://github.com/FezVrasta/bootstrap-material-design.git"