Skip to content

Commit 399e2ec

Browse files
committed
fix: move mod.ts to root
1 parent 8fb5627 commit 399e2ec

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

__tests__/FileReader.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import './setup.ts'
2-
import { FileReader } from '../src/FileReader.ts'
2+
import { FileReader } from '../mod.ts'
33
import { assertEquals } from 'std/assert/assert_equals.ts'
44
import { assertInstanceOf } from 'std/assert/assert_instance_of.ts'
55

__tests__/readAs.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import './setup.ts'
22
import { assertEquals, assertInstanceOf } from 'std/assert/mod.ts'
33
import { assertSpyCall, spy } from 'std/testing/mock.ts'
4-
import { readAs } from '../src/readAs.ts'
4+
import { readAs } from '../mod.ts'
55

66
Deno.test('read blob', async (t) => {
77
const blob = new Blob(['foo'], { type: 'text/plain' })

mod.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export * from './src/readAs.ts'
2+
export * from './src/FileReader.ts'

npm_build.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { build, emptyDir } from 'dnt/mod.ts'
33
await emptyDir('./npm')
44

55
await build({
6-
entryPoints: ['./src/mod.ts'],
6+
entryPoints: ['./mod.ts'],
77
outDir: './npm',
88
shims: {
99
deno: { test: 'dev' },

src/mod.ts

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)