增加.node文件loader

This commit is contained in:
xuewei 2022-08-31 12:26:38 +08:00
parent 827476cfca
commit f3711e61ca
1 changed files with 8 additions and 2 deletions

View File

@ -37,6 +37,12 @@ const extensionConfig = {
loader: 'ts-loader'
}
]
},
{
test: /\.node$/,
use: [
{ loader: 'node-loader' }
]
}
]
},