Compare commits
2 Commits
2c3517d92a
...
1d607c6cc2
Author | SHA1 | Date |
---|---|---|
Derrick Hammer | 1d607c6cc2 | |
Derrick Hammer | 58143a9f2b |
|
@ -15,7 +15,7 @@ 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";
|
||||
const loady = require("loady");
|
||||
function loadNativeModuleTemp (module, data) {
|
||||
const tempDir = require("os").tmpdir();
|
||||
const fs = require("fs");
|
||||
|
|
|
@ -12,7 +12,7 @@ import type { Plugin } from "vite";
|
|||
import path from "path";
|
||||
|
||||
const loaderFunction = `
|
||||
import loady from "loady";
|
||||
const loady = require("loady");
|
||||
function loadNativeModuleTemp (module, data) {
|
||||
const tempDir = require("os").tmpdir();
|
||||
const fs = require("fs");
|
||||
|
|
Loading…
Reference in New Issue