提交 6079e9e0 编写于 作者: J Johannes Rieken

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

上级 fc59387a
......@@ -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",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册