generated from dellevin/template
新增阅读器功能,待优化
This commit is contained in:
27
assets/foliate-js/.babelrc
Normal file
27
assets/foliate-js/.babelrc
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"presets": [
|
||||
["@babel/preset-env", {
|
||||
"targets": {
|
||||
"android": "7",
|
||||
"chrome": "70",
|
||||
"safari": "12",
|
||||
"ios": "12"
|
||||
},
|
||||
"useBuiltIns": "entry",
|
||||
"corejs": 3,
|
||||
"modules": "auto"
|
||||
}]
|
||||
],
|
||||
"plugins": [
|
||||
["@babel/plugin-transform-runtime", {
|
||||
"regenerator": true,
|
||||
"corejs": false,
|
||||
"helpers": true,
|
||||
"useESModules": false
|
||||
}],
|
||||
"@babel/plugin-transform-class-properties",
|
||||
"@babel/plugin-transform-private-methods",
|
||||
"@babel/plugin-transform-nullish-coalescing-operator",
|
||||
"@babel/plugin-transform-optional-chaining"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user