Browse Source

Specify commonjs in tsconfig.json

Andrew Swistak 6 years ago
parent
commit
33d6145ab4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tsconfig.json

+ 1 - 1
tsconfig.json

@@ -6,7 +6,7 @@
     "experimentalDecorators": true,
     "jsx": "react",
     "lib": ["es6", "dom"],
-    "module": "es6",
+    "module": "commonjs",
     "moduleResolution": "node",
     "sourceMap": true,
     "target": "es6"