mirror of
https://github.com/postlight/mercury-parser
synced 2024-11-12 19:10:45 +00:00
33 lines
609 B
Plaintext
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
|
|
}
|
|
]
|
|
]
|
|
}
|
|
}
|
|
}
|