Skip to content

Commit

Permalink
Fixes issue with incorrect order of exports in resulting package (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
VadimSaveljev authored May 23, 2023
1 parent 4fbc601 commit 531d9fc
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
File renamed without changes.
6 changes: 3 additions & 3 deletions _tasks/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ const wasmPaths = [
]

let success = true
await Promise.all(wasmPaths.map((path) =>
build(path).catch((error) => {
console.error(`${path}:`, error)
await Promise.all(wasmPaths.map((wasmPath) =>
build(wasmPath).catch((error) => {
console.error(`${wasmPath}:`, error)
success = false
})
))
Expand Down
2 changes: 1 addition & 1 deletion _tasks/dnt.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { emptyDir } from "https://deno.land/[email protected]/fs/mod.ts"
import { build } from "https://deno.land/x/dnt@0.31.0/mod.ts"
import { build } from "https://deno.land/x/dnt@0.35.0/mod.ts"

await emptyDir("target/npm_pkg")

Expand Down
1 change: 1 addition & 0 deletions deno.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"noImplicitReturns": true,
"noUncheckedIndexedAccess": true
},
"lock": false,
"lint": {
"files": {
"exclude": ["target"],
Expand Down

0 comments on commit 531d9fc

Please sign in to comment.