mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-05 03:08:40 +00:00
Upgrade to Babel 7 (#1595)
* Upgrade to Babel 7 * Update dependencies * Remove `modules` and `useEsModules` as module support is automatically detected Target browsers supporting ESM in the ESM build. * Disable corejs aliasing (polyfill) * Fix package.json and update lockfile * Bump CircleCI cache version * Remove `Object.values()` use for Node 6 compatability * Remove redundant arguments to @babel/register * Update rollup and rollup-plugin-babel * Add ignore option to no-transform-runtime-aliasing Ignore JSON.stringify, parseInt, and ParseFloat * Upgrade babel-loader to 8.0.1 * Use api.env() in Babel configuration * Upgrade babel-loader to 8.0.2
This commit is contained in:
committed by
Kevin Barabash
parent
010dc88029
commit
4178639ea5
@@ -82,7 +82,10 @@
|
||||
"excludedFiles": ["*-spec.js", "unicodeMake.js"],
|
||||
"rules": {
|
||||
"no-restricted-syntax": [2, "ForOfStatement", "ClassDeclaration[superClass]", "ClassExpression[superClass]"],
|
||||
"transform-runtime-aliasing/no-transform-runtime-aliasing": 2
|
||||
"transform-runtime-aliasing/no-transform-runtime-aliasing": [2, {
|
||||
"transformEnabled": false,
|
||||
"ignore": ["parseInt", "parseFloat", "JSON.stringify"]
|
||||
}]
|
||||
},
|
||||
"env": {
|
||||
"node": false
|
||||
|
Reference in New Issue
Block a user