Skip to content

Instantly share code, notes, and snippets.

@sandalsoft
Last active October 16, 2019 09:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sandalsoft/726ea4662264d1dc205edeccf3523d85 to your computer and use it in GitHub Desktop.
Save sandalsoft/726ea4662264d1dc205edeccf3523d85 to your computer and use it in GitHub Desktop.
module.exports = {
presets: [`@babel/env`, `@babel/preset-typescript`],
plugins: [
`@babel/proposal-class-properties`,
`@babel/proposal-object-rest-spread`,
`transform-es2015-modules-commonjs`,
`@babel/plugin-proposal-optional-chaining`,
`@babel/plugin-proposal-nullish-coalescing-operator`,
[
`@babel/plugin-transform-runtime`,
{
regenerator: true,
},
],
],
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment