File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ " create-tauri-app " : " patch"
3+ ---
4+
5+ Fix building in ` next ` and ` next-ts ` templates by removing the ` experimental ` option from ` next.config.js ` since ` images.unoptimized ` is now stable.
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ const nodeJsTemplates = [
1717 "preact-ts" ,
1818] ;
1919
20- const matrix = [
20+ const matrixConfig = [
2121 {
2222 manager : "pnpm" ,
2323 install_cmd : "pnpm install" ,
@@ -45,16 +45,16 @@ const matrix = [
4545] ;
4646
4747const outMatrix = [ ] ;
48- matrix
48+ matrixConfig
4949 . map ( ( e ) => e . templates )
5050 . forEach ( ( ts , i ) => {
51- let { templates, ...managerInfo } = matrix [ i ] ;
51+ let { templates, ...managerInfo } = matrixConfig [ i ] ;
5252 for ( const t of ts ) {
5353 if (
5454 changedFiles . some (
5555 ( e ) =>
5656 e . includes ( `packages/cli/base` ) ||
57- e . includes ( `packages/cli/fragment-${ t } ` ) ||
57+ e . includes ( `packages/cli/fragments/ fragment-${ t } ` ) ||
5858 e . includes ( "packages/cli/src" ) ||
5959 e . includes ( "packages/cli/Cargo.toml" ) ||
6060 e . includes ( ".github/workflows/templates-test.yml" )
Original file line number Diff line number Diff line change 33const nextConfig = {
44 reactStrictMode : true ,
55 swcMinify : true ,
6- experimental : {
7- images : {
8- unoptimized : true ,
9- } ,
6+ images : {
7+ unoptimized : true ,
108 } ,
119} ;
1210
Original file line number Diff line number Diff line change 33const nextConfig = {
44 reactStrictMode : true ,
55 swcMinify : true ,
6- experimental : {
7- images : {
8- unoptimized : true ,
9- } ,
6+ images : {
7+ unoptimized : true ,
108 } ,
119} ;
1210
You can’t perform that action at this time.
0 commit comments