Skip to content

Commit bd3b43b

Browse files
committed
build cjs
1 parent b6c996a commit bd3b43b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

packages/nitro-utils/package.json

+6-1
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,19 @@
1212
"files": [
1313
"/build"
1414
],
15-
"main": "build/esm/index.js",
15+
"main": "build/cjs/index.js",
16+
"module": "build/esm/index.js",
1617
"types": "build/types/index.d.ts",
1718
"exports": {
1819
"./package.json": "./package.json",
1920
".": {
2021
"import": {
2122
"types": "./build/types/index.d.ts",
2223
"default": "./build/esm/index.js"
24+
},
25+
"require": {
26+
"types": "./build/types/index.d.ts",
27+
"default": "./build/cjs/index.js"
2328
}
2429
}
2530
},

0 commit comments

Comments
 (0)