1
0
mirror of https://github.com/locomotivemtl/locomotive-boilerplate.git synced 2026-01-15 00:55:08 +08:00

Adding Babel transform for <= IE10 ES6 support

This commit is contained in:
dominiclord
2016-07-14 14:41:30 -04:00
parent 6878ba4f96
commit 7190a7dccb
4 changed files with 120 additions and 130 deletions

View File

@@ -1,5 +1,6 @@
module.exports = {
options: {
open : false,
proxy : 'localhost',
port : 3000,
watchTask : true,

View File

@@ -5,7 +5,12 @@ module.exports = {
},
exclude: "",
transform: [
[ 'babelify', { presets: [ 'es2015' ] } ]
['babelify', {
presets: ['es2015'],
plugins: [
['transform-es2015-classes', {loose: true}]
]
}]
]
},
dev: {