babel.config.js 423 B

123456789101112
  1. module.exports = {
  2. assumptions: { setPublicClassFields: true, privateFieldsAsProperties: true },
  3. presets: [["@babel/preset-env", { modules: false }], "@babel/preset-typescript"],
  4. plugins: [
  5. "@babel/plugin-proposal-private-methods",
  6. "@babel/plugin-proposal-class-properties",
  7. "@babel/plugin-transform-runtime",
  8. "@babel/plugin-transform-classes",
  9. "@babel/plugin-transform-modules-commonjs",
  10. ],
  11. };