import path from 'path' import ffi from 'ffi-napi' const libm = ffi.Library(path.resolve('resources/Dll4.dll'), { add: ['int', ['int', 'int']] }) export default libm //vite.config.js import { resolve } from 'path' import { defineConfig, externalizeDepsPlugin } from 'electro...