module.exports = {
  presets: [
    require("babel-preset-react")
  ],
  plugins: [
    require("babel-plugin-transform-decorators-legacy"),
    require("babel-plugin-syntax-class-properties"),
    require("babel-plugin-transform-class-properties"),
    require("babel-plugin-syntax-object-rest-spread"),
    require("babel-plugin-transform-object-rest-spread")
  ]
};
module.exports = {
  presets: [
    require("babel-preset-react")
  ],
  plugins: [
    require("babel-plugin-transform-decorators-legacy").default,
    require("babel-plugin-syntax-class-properties"),
    require("babel-plugin-transform-class-properties"),
    require("babel-plugin-syntax-object-rest-spread"),
    require("babel-plugin-transform-object-rest-spread")
  ]
};
Fix the issue of invalid default property when bundling
Fix the issue of invalid default property when bundling
