mirror of
https://github.com/amark/gun.git
synced 2025-03-30 15:08:33 +00:00
18 lines
440 B
JavaScript
18 lines
440 B
JavaScript
/*
|
|
|
|
// Let's do all old-fashion require stuff before '@std/mjs' steps in...
|
|
const Gun = require('../gun')
|
|
|
|
if (process.env.SEA) {
|
|
Gun.SEA = require('../sea')
|
|
}
|
|
require('../lib/file')
|
|
|
|
const myDir = __dirname // TODO: where did __dirname go ?
|
|
|
|
// From here on we're ES6 import compatible...
|
|
require = require('@std/esm')(module) // eslint-disable-line no-global-assign
|
|
|
|
module.exports = require('../lib/server.mjs').default(Gun, myDir)
|
|
|
|
*/ |