Skip to content

Commit f4c92b4

Browse files
fix(blazebuild): better module management
1 parent 1298422 commit f4c92b4

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

blazebuild/package.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,17 @@
1212
"chalk": "4",
1313
"glob": "^10.4.1",
1414
"reflect-metadata": "^0.2.2"
15+
},
16+
"exports": {
17+
".": "./src/main/typescript/index.ts",
18+
"./types": "./src/main/typescript/types/build.ts"
19+
},
20+
"typesVersions": {
21+
"*": {
22+
"*": [
23+
"./src/main/typescript/index.ts"],
24+
"types": [
25+
"./src/main/typescript/types/build.ts"]
26+
}
1527
}
1628
}

build.blaze.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import "blazebuild";
1+
import "blazebuild/types";
22

33
project.name = "sudobot";
44
project.version = "1.0.0";

0 commit comments

Comments
 (0)