fix: TS2307: Cannot find module 'registry-js' or its corresponding type declarations.

This commit is contained in:
lin onetwo 2023-12-30 02:53:05 +08:00
parent 072526fc20
commit b5ec5c19f2
2 changed files with 4 additions and 1 deletions

View file

@ -60,6 +60,7 @@ module.exports = {
'@llama-node/rwkv-cpp',
'dugite',
'zx',
...(process.platform === 'win32' ? [] : ['registry-js']),
],
// externalsType: 'commonjs',
// externalsPresets: { electronMain: true },