Merge pull request #396 from openpgpjs/revert-395-es6
Revert "Enable ES6 support by using babelify transform in browserify build"
This commit is contained in:
commit
c2c73a4fd1
|
@ -16,7 +16,6 @@
|
||||||
"trailing": true,
|
"trailing": true,
|
||||||
"undef": true,
|
"undef": true,
|
||||||
"unused": true,
|
"unused": true,
|
||||||
"esnext": true,
|
|
||||||
|
|
||||||
"predef": [
|
"predef": [
|
||||||
"console",
|
"console",
|
||||||
|
|
16
Gruntfile.js
16
Gruntfile.js
|
@ -18,13 +18,7 @@ module.exports = function(grunt) {
|
||||||
browserifyOptions: {
|
browserifyOptions: {
|
||||||
standalone: 'openpgp'
|
standalone: 'openpgp'
|
||||||
},
|
},
|
||||||
external: [ 'crypto', 'node-localstorage' ],
|
external: [ 'crypto', 'node-localstorage' ]
|
||||||
transform: [
|
|
||||||
["babelify", {
|
|
||||||
ignore: ['*.min.js'],
|
|
||||||
presets: ["es2015"]
|
|
||||||
}]
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
openpgp_debug: {
|
openpgp_debug: {
|
||||||
|
@ -36,13 +30,7 @@ module.exports = function(grunt) {
|
||||||
debug: true,
|
debug: true,
|
||||||
standalone: 'openpgp'
|
standalone: 'openpgp'
|
||||||
},
|
},
|
||||||
external: [ 'crypto', 'node-localstorage' ],
|
external: [ 'crypto', 'node-localstorage' ]
|
||||||
transform: [
|
|
||||||
["babelify", {
|
|
||||||
ignore: ['*.min.js'],
|
|
||||||
presets: ["es2015"]
|
|
||||||
}]
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
worker: {
|
worker: {
|
||||||
|
|
|
@ -32,8 +32,6 @@
|
||||||
"test": "grunt test"
|
"test": "grunt test"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"babel-preset-es2015": "^6.3.13",
|
|
||||||
"babelify": "^7.2.0",
|
|
||||||
"chai": "~3.4.1",
|
"chai": "~3.4.1",
|
||||||
"coveralls": "^2.11.2",
|
"coveralls": "^2.11.2",
|
||||||
"grunt": "~0.4.5",
|
"grunt": "~0.4.5",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user