Skip to content

Commit ae21376

Browse files
author
Travis Frank
committed
fix: Export from index without default
1 parent cfe7b64 commit ae21376

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

build.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ const __dirname = path.dirname(__filename);
77

88
const commonOptions = {
99
bundle: true,
10-
sourcemap: true,
10+
sourcemap: process.env.ENV === "prod" ? false : true,
11+
minify: true,
1112
target: "esnext",
1213
entryPoints: [path.join(__dirname, process.env.ENV === "prod" ? "src" : "test", "index.ts")],
1314
outdir: path.join(__dirname, "dist"),

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ticketbridge/hyper-durable",
3-
"version": "0.1.2",
3+
"version": "0.1.3",
44
"description": "Object-like access to Durable Object properties and methods",
55
"repository": {
66
"type": "git",

src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { HyperDurable } from './HyperDurable';
22
import { proxyHyperDurables } from './HyperNamespaceProxy';
33

4-
export default {
4+
export {
55
HyperDurable,
66
proxyHyperDurables
77
};

0 commit comments

Comments
 (0)