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,
|
2018-07-16 22:04:25 +00:00
|
|
|
"env": {
|
|
|
|
"browser": {
|
|
|
|
"ignore": [
|
|
|
|
"src/embark.js",
|
2018-08-31 22:03:55 +00:00
|
|
|
"src/node/async.js",
|
2018-07-16 22:04:25 +00:00
|
|
|
"src/node/index.js",
|
|
|
|
"src/standalone/index.js"
|
|
|
|
],
|
2018-08-13 01:11:54 +00:00
|
|
|
"plugins": [
|
|
|
|
["@babel/plugin-transform-runtime", {
|
|
|
|
"corejs": 2,
|
|
|
|
"useESModules": true
|
|
|
|
}]
|
|
|
|
],
|
2018-07-16 22:04:25 +00:00
|
|
|
"presets": [
|
|
|
|
["@babel/env", {
|
|
|
|
"modules": false,
|
|
|
|
"targets": {"browsers": ["last 1 version", "not dead", "> 0.2%"]}
|
|
|
|
}]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"node": {
|
2018-08-31 22:03:55 +00:00
|
|
|
"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"],
|
2018-08-13 01:11:54 +00:00
|
|
|
"plugins": [
|
|
|
|
["@babel/plugin-transform-runtime", {
|
|
|
|
"corejs": 2
|
|
|
|
}]
|
|
|
|
],
|
2018-07-16 22:04:25 +00:00
|
|
|
"presets": [
|
|
|
|
["@babel/env", {
|
|
|
|
"targets": {"node": "8.11.3"}
|
|
|
|
}]
|
|
|
|
]
|
|
|
|
}
|
2018-08-13 01:11:54 +00:00
|
|
|
}
|
2018-07-06 15:11:06 +00:00
|
|
|
}
|