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:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user