Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Kudo committed Sep 13, 2023
1 parent c470ae3 commit b227fae
Show file tree
Hide file tree
Showing 9 changed files with 49 additions and 1 deletion.
9 changes: 9 additions & 0 deletions build/command/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20150,6 +20150,14 @@ module.exports = require("https");

/***/ }),

/***/ 8188:
/***/ ((module) => {

"use strict";
module.exports = require("module");

/***/ }),

/***/ 1808:
/***/ ((module) => {

Expand Down Expand Up @@ -20773,6 +20781,7 @@ function addGlobalNodeSearchPath(searchPath) {
const nodePaths = nodePath.split(delimiter);
nodePaths.push(searchPath);
process.env['NODE_PATH'] = nodePaths.join(delimiter);
(__nccwpck_require__(8188).Module._initPaths)();
}

;// CONCATENATED MODULE: ./src/actions/command.ts
Expand Down
1 change: 1 addition & 0 deletions build/fingerprint-post/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -77488,6 +77488,7 @@ function addGlobalNodeSearchPath(searchPath) {
const nodePaths = nodePath.split(delimiter);
nodePaths.push(searchPath);
process.env['NODE_PATH'] = nodePaths.join(delimiter);
(__nccwpck_require__(8188).Module._initPaths)();
}

;// CONCATENATED MODULE: ./src/cacher.ts
Expand Down
1 change: 1 addition & 0 deletions build/fingerprint/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -77493,6 +77493,7 @@ function addGlobalNodeSearchPath(searchPath) {
const nodePaths = nodePath.split(delimiter);
nodePaths.push(searchPath);
process.env['NODE_PATH'] = nodePaths.join(delimiter);
(__nccwpck_require__(8188).Module._initPaths)();
}

;// CONCATENATED MODULE: ./src/cacher.ts
Expand Down
9 changes: 9 additions & 0 deletions build/preview-build/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -75098,6 +75098,14 @@ module.exports = require("https");

/***/ }),

/***/ 8188:
/***/ ((module) => {

"use strict";
module.exports = require("module");

/***/ }),

/***/ 1808:
/***/ ((module) => {

Expand Down Expand Up @@ -75464,6 +75472,7 @@ function addGlobalNodeSearchPath(searchPath) {
const nodePaths = nodePath.split(delimiter);
nodePaths.push(searchPath);
process.env['NODE_PATH'] = nodePaths.join(delimiter);
(__nccwpck_require__(8188).Module._initPaths)();
}

;// CONCATENATED MODULE: ./src/cacher.ts
Expand Down
9 changes: 9 additions & 0 deletions build/preview-comment/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20150,6 +20150,14 @@ module.exports = require("https");

/***/ }),

/***/ 8188:
/***/ ((module) => {

"use strict";
module.exports = require("module");

/***/ }),

/***/ 1808:
/***/ ((module) => {

Expand Down Expand Up @@ -20774,6 +20782,7 @@ function addGlobalNodeSearchPath(searchPath) {
const nodePaths = nodePath.split(delimiter);
nodePaths.push(searchPath);
process.env['NODE_PATH'] = nodePaths.join(delimiter);
(__nccwpck_require__(8188).Module._initPaths)();
}

;// CONCATENATED MODULE: ./src/actions/preview-comment.ts
Expand Down
9 changes: 9 additions & 0 deletions build/preview/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23297,6 +23297,14 @@ module.exports = require("https");

/***/ }),

/***/ 8188:
/***/ ((module) => {

"use strict";
module.exports = require("module");

/***/ }),

/***/ 1808:
/***/ ((module) => {

Expand Down Expand Up @@ -23877,6 +23885,7 @@ function addGlobalNodeSearchPath(searchPath) {
const nodePaths = nodePath.split(delimiter);
nodePaths.push(searchPath);
process.env['NODE_PATH'] = nodePaths.join(delimiter);
(__nccwpck_require__(8188).Module._initPaths)();
}

;// CONCATENATED MODULE: ./src/actions/preview.ts
Expand Down
9 changes: 9 additions & 0 deletions build/setup/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -71951,6 +71951,14 @@ module.exports = require("https");

/***/ }),

/***/ 8188:
/***/ ((module) => {

"use strict";
module.exports = require("module");

/***/ }),

/***/ 1808:
/***/ ((module) => {

Expand Down Expand Up @@ -72335,6 +72343,7 @@ function addGlobalNodeSearchPath(searchPath) {
const nodePaths = nodePath.split(delimiter);
nodePaths.push(searchPath);
process.env['NODE_PATH'] = nodePaths.join(delimiter);
(__nccwpck_require__(8188).Module._initPaths)();
}

;// CONCATENATED MODULE: ./src/cacher.ts
Expand Down
2 changes: 1 addition & 1 deletion ncc.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ async function build() {

async function compile(entry) {
const { code, map, assets } = await ncc(entry, {
externals: ['sqlite3'],
externals: ['module', 'sqlite3'],
cache: false,
license: 'license.txt',
quiet: true,
Expand Down
1 change: 1 addition & 0 deletions src/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,5 @@ export function addGlobalNodeSearchPath(searchPath: string) {
const nodePaths = nodePath.split(delimiter);
nodePaths.push(searchPath);
process.env['NODE_PATH'] = nodePaths.join(delimiter);
require('module').Module._initPaths();
}

0 comments on commit b227fae

Please sign in to comment.