title: WebStorm adds `Object.defineProperty(exports, "__esModule", { value: true });` for `commonjs` modules
body: <p>When using TypeScript service WebStorm adds the following to the output:</p>
  
  <pre><code>Object.defineProperty(exports, "__esModule", { value: true });
  </code></pre>
  
  <p>it can be seen in the following output:</p>
  
  <pre><code>"use strict";
  Object.defineProperty(exports, "__esModule", { value: true }); &lt;----------
  var rabbit_1 = require("./rabbit");
  var r = new rabbit_1.Rabbit();
  r.go();
  </code></pre>
  
  <p>The <code>tsconfig.json</code> is configured like this</p>
  
  <pre><code>{
      "compilerOptions": {
          "module": "commonjs",  &lt;---------------
          "target": "es5",
          "noImplicitAny": false,
          "sourceMap": false
      }
  }
  </code></pre>
  
  <p>And <code>tsc</code> correctly outputs modules in <code>commonjs</code>. Why does WebStorm adds this line?</p>