File tree 2 files changed +3
-3
lines changed
packages/next/src/plugins 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ exports[`@nx/next/plugin integrated projects should create nodes 1`] = `
34
34
" tty" : false ,
35
35
},
36
36
" outputs" : [
37
- " {workspaceRoot}/my-app/.next" ,
37
+ " {workspaceRoot}/my-app/.next/!(cache)/**/* " ,
38
38
" {workspaceRoot}/my-app/.next/!(cache)" ,
39
39
],
40
40
},
@@ -109,7 +109,7 @@ exports[`@nx/next/plugin root projects should create nodes 1`] = `
109
109
" tty" : false ,
110
110
},
111
111
" outputs" : [
112
- " {projectRoot}/.next" ,
112
+ " {projectRoot}/.next/!(cache)/**/* " ,
113
113
" {projectRoot}/.next/!(cache)" ,
114
114
],
115
115
},
Original file line number Diff line number Diff line change @@ -207,7 +207,7 @@ async function getBuildTargetConfig(
207
207
dependsOn : [ '^build' ] ,
208
208
cache : true ,
209
209
inputs : getInputs ( namedInputs ) ,
210
- outputs : [ nextOutputPath , `${ nextOutputPath } /!(cache)` ] ,
210
+ outputs : [ ` ${ nextOutputPath } /!(cache)/**/*` , `${ nextOutputPath } /!(cache)` ] ,
211
211
} ;
212
212
213
213
// TODO(ndcunningham): Update this to be consider different versions of next.js which is running
You can’t perform that action at this time.
0 commit comments