Adding Babel transform for <= IE10 ES6 support
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
module.exports = {
|
||||
options: {
|
||||
open : false,
|
||||
proxy : 'localhost',
|
||||
port : 3000,
|
||||
watchTask : true,
|
||||
|
||||
@@ -5,7 +5,12 @@ module.exports = {
|
||||
},
|
||||
exclude: "",
|
||||
transform: [
|
||||
[ 'babelify', { presets: [ 'es2015' ] } ]
|
||||
['babelify', {
|
||||
presets: ['es2015'],
|
||||
plugins: [
|
||||
['transform-es2015-classes', {loose: true}]
|
||||
]
|
||||
}]
|
||||
]
|
||||
},
|
||||
dev: {
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
"devDependencies": {
|
||||
"autoprefixer": "0.0.0",
|
||||
"babel-preset-es2015": "0.0.0",
|
||||
"babel-plugin-transform-es2015-classes": "0.0.0",
|
||||
"babelify": "0.0.0",
|
||||
"eslint-tap": "0.0.0",
|
||||
"glob": "0.0.0",
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user