diff options
| author | Lex Neva <github.com@lexneva.name> | 2019-04-10 23:38:43 -0400 |
|---|---|---|
| committer | Lex Neva <github.com@lexneva.name> | 2019-04-10 23:38:43 -0400 |
| commit | e06e63d44caeb72061a2e59e6efc40bee034d680 (patch) | |
| tree | 3c8c1bb30603a97936c6ac528edbf61464d776bb /electron/.compilerc | |
| parent | 9ccf2f552be246f7912e9dc923f8da8ae47fe544 (diff) | |
add build machinery for electron
Diffstat (limited to 'electron/.compilerc')
| -rw-r--r-- | electron/.compilerc | 42 |
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" + } + } + } +} |
