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 @@ -35,7 +35,7 @@ exports[`@nx/next/plugin integrated projects should create nodes 1`] = `
35
35
},
36
36
" outputs" : [
37
37
" {workspaceRoot}/my-app/.next" ,
38
- " {workspaceRoot}/my-app/.next/!(cache)" ,
38
+ " {workspaceRoot}/my-app/.next/!(cache)/**/* " ,
39
39
],
40
40
},
41
41
" my-serve" : {
@@ -110,7 +110,7 @@ exports[`@nx/next/plugin root projects should create nodes 1`] = `
110
110
},
111
111
" outputs" : [
112
112
" {projectRoot}/.next" ,
113
- " {projectRoot}/.next/!(cache)" ,
113
+ " {projectRoot}/.next/!(cache)/**/* " ,
114
114
],
115
115
},
116
116
" build-deps" : {
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 , `${ 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