File tree Expand file tree Collapse file tree 3 files changed +16
-1
lines changed Expand file tree Collapse file tree 3 files changed +16
-1
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " open-next " : patch
3
+ ---
4
+
5
+ Export dist folder
Original file line number Diff line number Diff line change 18
18
"build" : " tsc" ,
19
19
"dev" : " tsc -w"
20
20
},
21
+ "exports" : {
22
+ "./*" : " ./dist/*"
23
+ },
24
+ "typesVersions" : {
25
+ "*" : {
26
+ "*" : [
27
+ " dist/*"
28
+ ]
29
+ }
30
+ },
21
31
"keywords" : [],
22
32
"author" : " " ,
23
33
"files" : [
Original file line number Diff line number Diff line change @@ -43,9 +43,9 @@ export async function build(opts: BuildOptions = {}) {
43
43
options = normalizeOptions ( opts ) ;
44
44
45
45
// Pre-build validation
46
+ checkRunningInsideNextjsApp ( ) ;
46
47
printNextjsVersion ( ) ;
47
48
printOpenNextVersion ( ) ;
48
- checkRunningInsideNextjsApp ( ) ;
49
49
const { root : monorepoRoot , packager } = findMonorepoRoot ( ) ;
50
50
51
51
// Build Next.js app
You can’t perform that action at this time.
0 commit comments