Skip to content

Instantly share code, notes, and snippets.

@harshaktg
Created September 5, 2020 12:15
Show Gist options
  • Save harshaktg/9c26bdd6979ffce169b6ee67ed1ddaf9 to your computer and use it in GitHub Desktop.
Save harshaktg/9c26bdd6979ffce169b6ee67ed1ddaf9 to your computer and use it in GitHub Desktop.
Babel config for MFE Single SPA
{
"presets": [
["@babel/preset-env", {
"targets": {
"browsers": ["last 2 versions"]
}
}],
["@babel/preset-react"]
],
"plugins": [
"@babel/plugin-syntax-dynamic-import",
"@babel/plugin-proposal-object-rest-spread"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment