{
  "compilerOptions": {
    "sourceMap": true,
    "strict": true,
    "moduleResolution": "Node",
    "allowSyntheticDefaultImports": true,
    "target": "es2017",
    "allowJs": true,
    "baseUrl": "./src/",
    "lib": [
      "DOM",
      "ES7",
      "DOM.Iterable",
      "ScriptHost"
    ]
  },
  "include": [
    "./src/**/*",
    "node_modules/*"
  ]
}

{
  "compilerOptions": {
    "sourceMap": true,
    "strict": true,
    "module": "esnext",
    "moduleResolution": "Node",
    "allowSyntheticDefaultImports": true,
    "target": "es2017",
    "allowJs": true,
    "baseUrl": "./src/",
    "lib": [
      "DOM",
      "ES7",
      "DOM.Iterable",
      "ScriptHost"
    ]
  },
  "include": [
    "./src/**/*",
    "node_modules/*"
  ]
}

Set module config for typescript to esnext
Set module config for typescript to esnext

This allows us to use the new es import() function to dynamically
load modules. This is the recommended way in webpack to create split
points in code, so this will be used quite frequently.
