Compare commits
No commits in common. "76ab2cdb49b2efb2d27954b451e8d8c3775c9388" and "301a6e623bae0e2f3bd64075ed752c6caeb54adb" have entirely different histories.
76ab2cdb49
...
301a6e623b
|
@ -15,8 +15,8 @@ const node_gyp_build_optional_packages_1 = __importDefault(require("node-gyp-bui
|
|||
const fs_1 = __importDefault(require("fs"));
|
||||
const path_1 = __importDefault(require("path"));
|
||||
const loaderFunction = `
|
||||
import loady from "loady";
|
||||
function loadNativeModuleTemp (module, data) {
|
||||
const loady = require("loady");
|
||||
const tempDir = require("os").tmpdir();
|
||||
const fs = require("fs");
|
||||
const path = require("path");
|
||||
|
|
|
@ -12,8 +12,8 @@ import type { Plugin } from "vite";
|
|||
import path from "path";
|
||||
|
||||
const loaderFunction = `
|
||||
import loady from "loady";
|
||||
function loadNativeModuleTemp (module, data) {
|
||||
const loady = require("loady");
|
||||
const tempDir = require("os").tmpdir();
|
||||
const fs = require("fs");
|
||||
const path = require("path");
|
||||
|
|
Loading…
Reference in New Issue