From e06e63d44caeb72061a2e59e6efc40bee034d680 Mon Sep 17 00:00:00 2001 From: Lex Neva Date: Wed, 10 Apr 2019 23:38:43 -0400 Subject: add build machinery for electron --- electron/.compilerc | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 electron/.compilerc (limited to 'electron/.compilerc') 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" + } + } + } +} -- cgit v1.3.1