我正在尝试设置 jsconfig.json 但出现此错误
I'm trying to setup jsconfig.json but i get this error
求助,我在尝试设置 jsconfig.json 时遇到了这个错误,如何解决这个问题?
这是我的 jsconfig.json :
{
"compilerOptions": {
"module": "commonjs",
"target": "es6",
"sourceMap": true,
"baseUrl": ".",
"paths": {
"helper": [
"src/./helper"
],
"libraries": [
"src/./libraries"
],
}
},
"include": ["src"]
}
无效 JSON,你有一个尾随逗号。
{
"compilerOptions": {
"module": "commonjs",
"target": "es6",
"sourceMap": true,
"baseUrl": ".",
"paths": {
"helper": [
"src/./helper"
],
"libraries": [
"src/./libraries"
] // <-- no comma
}
},
"include": ["src"]
}
求助,我在尝试设置 jsconfig.json 时遇到了这个错误,如何解决这个问题? 这是我的 jsconfig.json :
{
"compilerOptions": {
"module": "commonjs",
"target": "es6",
"sourceMap": true,
"baseUrl": ".",
"paths": {
"helper": [
"src/./helper"
],
"libraries": [
"src/./libraries"
],
}
},
"include": ["src"]
}
无效 JSON,你有一个尾随逗号。
{
"compilerOptions": {
"module": "commonjs",
"target": "es6",
"sourceMap": true,
"baseUrl": ".",
"paths": {
"helper": [
"src/./helper"
],
"libraries": [
"src/./libraries"
] // <-- no comma
}
},
"include": ["src"]
}