mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 00:47:01 +00:00
feature: client: load-module: migrate to ESM
This commit is contained in:
parent
9950cacad9
commit
917f585137
2 changed files with 8 additions and 8 deletions
|
|
@ -24,7 +24,7 @@ const {
|
|||
buildFromJSON,
|
||||
} = require('../common/cloudfunc');
|
||||
|
||||
const loadModule = require('./load-module');
|
||||
const {loadModule} = require('./load-module.mjs');
|
||||
|
||||
const noJS = (a) => a.replace(/.js$/, '');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue