mercury-parser/.babelrc
2019-01-30 10:17:32 -08:00

33 lines
609 B
Plaintext

{
"presets": ["@babel/preset-env"],
"plugins": [
[
"module-resolver",
{
"root": ["./src"],
"alias": {
"./utils": "utils",
"./cleaners": "cleaners",
"./resource": "resource",
"./extractors": "extractors",
"./test-helpers.js": "test-helpers",
"./mercury.js": "mercury"
}
}
]
],
"env": {
"development": {
"plugins": [
[
"@babel/plugin-transform-runtime",
{
"corejs": 2,
"regenerator": true
}
]
]
}
}
}