提交 f8478e42 编写于 作者: fxy060608's avatar fxy060608

fix: ts-loader

上级 9e53d01b
......@@ -123,7 +123,7 @@ module.exports = function configureWebpack (platformOptions, manifestPlatformOpt
if (matchRule && matchRule.use) {
if (runByHBuilderX) {
matchRule.use.forEach(matchUse => {
if (matchUse.loader === 'ts-loader') {
if (matchUse.loader.includes('ts-loader')) {
Object.assign(matchUse.options, tsLoaderOptions)
}
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册