mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
mascara - remove global transpile
This commit is contained in:
parent
d047ba541f
commit
b790b0c256
@ -80,15 +80,6 @@ function createBundle(entryPoint){
|
|||||||
plugin: [watchify],
|
plugin: [watchify],
|
||||||
})
|
})
|
||||||
|
|
||||||
// global transpile
|
|
||||||
var bablePreset = require.resolve('babel-preset-es2015')
|
|
||||||
|
|
||||||
bundler.transform(babelify, {
|
|
||||||
global: true,
|
|
||||||
presets: [bablePreset],
|
|
||||||
babelrc: false,
|
|
||||||
})
|
|
||||||
|
|
||||||
bundler.on('update', bundle)
|
bundler.on('update', bundle)
|
||||||
bundle()
|
bundle()
|
||||||
|
|
||||||
|
@ -89,7 +89,6 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"babel-eslint": "^6.0.5",
|
"babel-eslint": "^6.0.5",
|
||||||
"babel-preset-es2015": "^6.6.0",
|
|
||||||
"babel-register": "^6.7.2",
|
"babel-register": "^6.7.2",
|
||||||
"babelify": "^7.2.0",
|
"babelify": "^7.2.0",
|
||||||
"beefy": "^2.1.5",
|
"beefy": "^2.1.5",
|
||||||
|
Loading…
Reference in New Issue
Block a user