Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Commit

Permalink
fix(.babelrc): Fix usage of babel-preset-env.
Browse files Browse the repository at this point in the history
Properly format the presets section of .babelrc to properly capture electron as the target env.
  • Loading branch information
haroldtreen committed Apr 14, 2018
1 parent 09fa607 commit 78c10e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .babelrc
@@ -1,4 +1,4 @@
{
"presets": [["env", { "electron": 1.4 }], "stage-2"],
"presets": [["env", { "targets": { "electron": "1.4" } }], "stage-2"],
"plugins": ["transform-flow-strip-types", "transform-runtime"]
}

0 comments on commit 78c10e3

Please sign in to comment.