Adding Babel transform for <= IE10 ES6 support
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
options: {
|
options: {
|
||||||
|
open : false,
|
||||||
proxy : 'localhost',
|
proxy : 'localhost',
|
||||||
port : 3000,
|
port : 3000,
|
||||||
watchTask : true,
|
watchTask : true,
|
||||||
|
|||||||
@@ -5,7 +5,12 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
exclude: "",
|
exclude: "",
|
||||||
transform: [
|
transform: [
|
||||||
[ 'babelify', { presets: [ 'es2015' ] } ]
|
['babelify', {
|
||||||
|
presets: ['es2015'],
|
||||||
|
plugins: [
|
||||||
|
['transform-es2015-classes', {loose: true}]
|
||||||
|
]
|
||||||
|
}]
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
dev: {
|
dev: {
|
||||||
|
|||||||
@@ -7,6 +7,7 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"autoprefixer": "0.0.0",
|
"autoprefixer": "0.0.0",
|
||||||
"babel-preset-es2015": "0.0.0",
|
"babel-preset-es2015": "0.0.0",
|
||||||
|
"babel-plugin-transform-es2015-classes": "0.0.0",
|
||||||
"babelify": "0.0.0",
|
"babelify": "0.0.0",
|
||||||
"eslint-tap": "0.0.0",
|
"eslint-tap": "0.0.0",
|
||||||
"glob": "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