Skip to content

babel v7 #5

@Jbarget

Description

@Jbarget

Hiya,
Im trying to integrate typeorm into our Node server, written in plain JS at the moment but soon to move over to typescript.

Having trouble with the babel set up since we're on babel v7.8.3, any chance you could update this example to reflect version 7?

image

In babel.config.js

module.exports = {
  presets: [
    [
      "@babel/preset-env",
      {
        targets: {
          node: "10"
        }
      }
    ]
  ],
  plugins: [
    "@babel/plugin-proposal-class-properties",
    ["@babel/plugin-proposal-decorators", { decoratorsBeforeExport: true }]
  ]
};

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions