提交 ecb170d6 编写于 作者: M Minh

add optionalChaining

上级 ec98db2a
......@@ -81,6 +81,7 @@ createPage(Page)
} = traverse(parser.parse(content, {
sourceType: 'module',
plugins: [
'optionalChaining',
'typescript',
['decorators', {
decoratorsBeforeExport: true
......@@ -140,4 +141,4 @@ createPage(Page)
callback(err, content)
})
}
}
}
......@@ -66,6 +66,7 @@ module.exports = function (content, map) {
} = traverse(parser.parse(content, {
sourceType: 'module',
plugins: [
'optionalChaining',
'typescript',
['decorators', {
decoratorsBeforeExport: true
......@@ -127,4 +128,4 @@ module.exports = function (content, map) {
}, err => {
callback(err, content, map)
})
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册