2018-09-07 08:17:00 +00:00
|
|
|
{
|
|
|
|
"comments": false,
|
|
|
|
"compact": false,
|
|
|
|
"env": {
|
|
|
|
"browser": {
|
|
|
|
"ignore": [
|
2018-09-10 06:38:18 +00:00
|
|
|
"src/index.js",
|
2018-09-07 08:17:00 +00:00
|
|
|
"src/node/index.js",
|
2018-09-12 01:55:22 +00:00
|
|
|
"src/standalone/index.js"
|
2018-09-07 08:17:00 +00:00
|
|
|
],
|
|
|
|
"plugins": [
|
|
|
|
["@babel/plugin-transform-runtime", {
|
2018-09-10 06:38:18 +00:00
|
|
|
"corejs": 2,
|
|
|
|
"useESModules": true
|
2018-09-07 08:17:00 +00:00
|
|
|
}]
|
|
|
|
],
|
|
|
|
"presets": [
|
|
|
|
["@babel/env", {
|
2018-09-10 06:38:18 +00:00
|
|
|
"modules": false,
|
|
|
|
"targets": {"browsers": ["last 1 version", "not dead", "> 0.2%"]}
|
2018-09-07 08:17:00 +00:00
|
|
|
}]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"node": {
|
|
|
|
"ignore": [
|
|
|
|
"src/browser.js",
|
2018-09-12 01:55:22 +00:00
|
|
|
"src/standalone/index.js"
|
2018-09-07 08:17:00 +00:00
|
|
|
],
|
|
|
|
"plugins": [
|
|
|
|
["@babel/plugin-transform-runtime", {
|
|
|
|
"corejs": 2
|
|
|
|
}]
|
|
|
|
],
|
|
|
|
"presets": [
|
|
|
|
["@babel/env", {
|
|
|
|
"targets": {"node": "8.11.3"}
|
|
|
|
}]
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|