mirror of
https://github.com/postlight/mercury-parser
synced 2024-10-31 03:20:40 +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
|
|
}
|
|
]
|
|
]
|
|
}
|
|
}
|
|
}
|