summaryrefslogtreecommitdiff
path: root/electron/.compilerc
diff options
context:
space:
mode:
authorLex Neva <lexelby@users.noreply.github.com>2019-04-30 20:27:52 -0400
committerGitHub <noreply@github.com>2019-04-30 20:27:52 -0400
commit8152c63ee393de68c7c7f53858792d8385c82463 (patch)
treec5089a63555329434b894f0825d104b5de91437c /electron/.compilerc
parent5b6923fe9d8d5f3afb0ef298ad34708e735fc5e5 (diff)
parent953990739b742bdad5221c39b35d47fd530502bb (diff)
use electron for Print PDF UI (#432)
electron proof of concept
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"
+ }
+ }
+ }
+}