mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-08 03:20:12 +08:00
change to use esm
This commit is contained in:
1 parent
eb231e4056
commit
78966d351f
10 files changed
+47
-17
No files matched your search
@@ -1,5 +1,5 @@
|
||||
/* eslint-disable lines-between-class-members */
|
||||
import { basename } from './utils'
|
||||
import { basename } from './utils.js'
|
||||
|
||||
interface FileObject {
|
||||
path: string
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
import File from './file'
|
||||
import File from './file.js'
|
||||
import {
|
||||
DuplicateItemError,
|
||||
ParentNotExistsError,
|
||||
FileNotExistsError,
|
||||
} from './errors'
|
||||
} from './errors.js'
|
||||
import { basename, dirname } from './utils.js'
|
||||
|
||||
export default class FileNode extends File {
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
export { default as File } from './file'
|
||||
export { default as File } from './file.js'
|
||||
export { default as FileNode } from './fileNode.js'
|
||||
export { default as FileGraph } from './fileGraph.js'
|
||||
Reference in new issue
Block a user