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