mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-15 12:47:56 +08:00
* chore: update dependencies * fix babel plugins and lint errors * switch out obselete browser plugin * add babel config for jest * revert some babel/jest package bumps * npm install * tmp remove werkzeug pin --------- Co-authored-by: Seve Badajoz <severiano.badajoz@chanzuckerberg.com>
27 lines
799 B
JavaScript
27 lines
799 B
JavaScript
module.exports = {
|
|
babelrc: false,
|
|
presets: [
|
|
[
|
|
"@babel/preset-env",
|
|
{
|
|
useBuiltIns: "entry",
|
|
corejs: 3,
|
|
modules: false,
|
|
},
|
|
],
|
|
"@babel/preset-react",
|
|
],
|
|
plugins: [
|
|
"@babel/plugin-proposal-function-bind",
|
|
["@babel/plugin-proposal-decorators", { legacy: true }],
|
|
["@babel/plugin-proposal-class-properties", { loose: true }],
|
|
["@babel/plugin-transform-private-methods", { loose: true }],
|
|
["@babel/plugin-transform-private-property-in-object", { loose: true }],
|
|
"@babel/plugin-proposal-export-namespace-from",
|
|
"@babel/plugin-transform-react-constant-elements",
|
|
"@babel/plugin-transform-runtime",
|
|
"@babel/plugin-proposal-optional-chaining",
|
|
"@babel/plugin-proposal-nullish-coalescing-operator",
|
|
],
|
|
};
|