summaryrefslogtreecommitdiffhomepage
path: root/desktop/packages/windows-utils/src/load.cts
blob: e58b26590181be6c3bae2488c1cac2cf8d0285cd (plain)
1
2
3
4
5
6
7
8
9
10
11
// This module loads the platform-specific build of the addon on
// the current system.

/* eslint-disable @typescript-eslint/no-require-imports */
module.exports = require('@neon-rs/load').proxy({
  platforms: {
    'win32-x64-msvc': () => require('../dist/win32-x64-msvc'),
    'win32-arm64-msvc': () => require('../dist/win32-arm64-msvc'),
  },
  debug: () => require('../debug/index.node'),
});