feature: route: convert to ESM

This commit is contained in:
coderaiser 2024-03-29 11:24:25 +02:00
parent 65cf97a7be
commit 35622082a9
3 changed files with 24 additions and 25 deletions

View file

@ -6,7 +6,7 @@ import tryToCatch from 'try-to-catch';
import {test, stub} from 'supertape';
import serveOnce from 'serve-once';
import cloudcmd from './cloudcmd.mjs';
import {_getReadDir} from './route.js';
import {_getReadDir} from './route.mjs';
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);