when generating a jsconfig file set the module to be commonjs, fixes #5611

This commit is contained in:
Johannes Rieken 2016-04-22 16:38:06 +02:00
parent fc59387aba
commit 6079e9e05f

View file

@ -190,7 +190,8 @@ const defaultConfig = `{
// See http://go.microsoft.com/fwlink/?LinkId=759670
// for the documentation about the jsconfig.json format
"compilerOptions": {
"target": "es6"
"target": "es6",
"module": "commonjs"
},
"exclude": [
"node_modules",