Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

babel v7 #5

Open
Jbarget opened this issue Feb 20, 2020 · 0 comments
Open

babel v7 #5

Jbarget opened this issue Feb 20, 2020 · 0 comments

Comments

@Jbarget
Copy link

Jbarget commented Feb 20, 2020

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 }]
  ]
};

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant