summaryrefslogtreecommitdiff
path: root/electron/.compilerc
diff options
context:
space:
mode:
Diffstat (limited to 'electron/.compilerc')
-rw-r--r--electron/.compilerc42
1 files changed, 42 insertions, 0 deletions
diff --git a/electron/.compilerc b/electron/.compilerc
new file mode 100644
index 00000000..7bfc1b6c
--- /dev/null
+++ b/electron/.compilerc
@@ -0,0 +1,42 @@
+{
+ "env": {
+ "development": {
+ "application/javascript": {
+ "presets": [
+ [
+ "env",
+ {
+ "targets": {
+ "electron": "4.0"
+ }
+ }
+ ],
+ "react"
+ ],
+ "plugins": [
+ "transform-async-to-generator"
+ ],
+ "sourceMaps": "inline"
+ }
+ },
+ "production": {
+ "application/javascript": {
+ "presets": [
+ [
+ "env",
+ {
+ "targets": {
+ "electron": "4.0"
+ }
+ }
+ ],
+ "react"
+ ],
+ "plugins": [
+ "transform-async-to-generator"
+ ],
+ "sourceMaps": "none"
+ }
+ }
+ }
+}