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