EmbarkJS/.babelrc

53 lines
1.1 KiB
Plaintext
Raw Permalink Normal View History

2018-07-06 15:11:06 +00:00
{
2018-07-09 02:59:44 +00:00
"comments": false,
2018-07-06 15:11:06 +00:00
"compact": false,
"env": {
"browser": {
"ignore": [
"src/embark.js",
"src/node/async.js",
"src/node/index.js",
"src/standalone/index.js"
],
"plugins": [
["@babel/plugin-transform-runtime", {
"corejs": 2,
"useESModules": true
}]
],
"presets": [
["@babel/env", {
"modules": false,
"targets": {"browsers": ["last 1 version", "not dead", "> 0.2%"]}
}]
]
},
"node": {
"ignore": ["src/browser.js", "src/node/async.js"],
"plugins": [
["@babel/plugin-transform-runtime", {
"corejs": 2
}]
],
"presets": [
["@babel/env", {
"targets": {"node": "8.11.3"}
}]
]
},
"node:async": {
"ignore": ["src/node/index.js"],
"plugins": [
["@babel/plugin-transform-runtime", {
"corejs": 2
}]
],
"presets": [
["@babel/env", {
"targets": {"node": "8.11.3"}
}]
]
}
}
2018-07-06 15:11:06 +00:00
}