trying esm modules

This commit is contained in:
Daniel
2022-05-12 01:44:09 +02:00
parent ee4dcf116c
commit 9370d0544e
6 changed files with 10 additions and 11 deletions

View File

@@ -1,2 +1,2 @@
const { CatalogService } = require('./srv/cat-service')
module.exports = { CatalogService }
import { CatalogService } from './srv/cat-service.js'
export { CatalogService }