mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-08-04 05:33:10 +00:00
feature: distribute: convert to ESM
This commit is contained in:
parent
faa2cb3f90
commit
d75818297b
9 changed files with 78 additions and 82 deletions
|
|
@ -24,7 +24,7 @@ import route from './route.mjs';
|
|||
import * as validate from './validate.mjs';
|
||||
import prefixer from './prefixer.js';
|
||||
import terminal from './terminal.js';
|
||||
import distribute from './distribute/index.js';
|
||||
import {distributeExport} from './distribute/export.mjs';
|
||||
import {createDepStore} from './depstore.js';
|
||||
|
||||
const __filename = fileURLToPath(import.meta.url);
|
||||
|
|
@ -175,7 +175,7 @@ function listen({prefixSocket, socket, config}) {
|
|||
autoRestart: config('terminalAutoRestart'),
|
||||
});
|
||||
|
||||
distribute.export(config, socket);
|
||||
distributeExport(config, socket);
|
||||
}
|
||||
|
||||
function cloudcmdMiddle({modules, config}) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue