Skip to content

Commit

Permalink
fix: skypack build by breaking import loop (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gozala authored Mar 24, 2022
1 parent 0b2add4 commit 611401b
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/file.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as API from "./file/api.js"
import * as UnixFS from "./unixfs.js"
import * as UnixFS from "./lib.js"
import * as Writer from "./file/writer.js"
import * as Task from "actor"
import { panic } from "./writer/util.js"
Expand Down
1 change: 0 additions & 1 deletion src/unixfs.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@

import { Data } from "../gen/unixfs.js"
export const NodeType = Data.DataType
export * from "./lib.js"
1 change: 0 additions & 1 deletion src/unixfs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ export * as Layout from "./file/layout/api"

import NodeType = Data.DataType

export * from "./lib.js"
export { NodeType }
export type { IData }

Expand Down
2 changes: 1 addition & 1 deletion test/matrix.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import * as Rabin from "../src/file/chunker/rabin.js"
import * as API from "../src/file/api.js"
import { UnixFSLeaf, UnixFSRawLeaf } from "../src/file.js"
import * as RawLeaf from "multiformats/codecs/raw"
import * as UnixFS from "../src/unixfs.js"
import * as UnixFS from "../src/lib.js"
import { sha256 } from "multiformats/hashes/sha2"
import * as FZSTD from "fzstd"

Expand Down

0 comments on commit 611401b

Please sign in to comment.