Skip to content

Commit

Permalink
Merge pull request #295 from tonymckendry/update-next-swc-config
Browse files Browse the repository at this point in the history
fix create-solito-app web crash with forceSwcTransforms in next config
  • Loading branch information
nandorojo authored Jan 5, 2023
2 parents ef70b4d + 993d457 commit c6f537d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion example-monorepos/blank/apps/next/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const nextConfig = {
disableStaticImages: true,
},
experimental: {
forceSwcTransforms: false, // set this to true to use reanimated + swc experimentally
forceSwcTransforms: true,
swcPlugins: [[require.resolve('./plugins/swc_plugin_reanimated.wasm')]],
},
}
Expand Down
2 changes: 1 addition & 1 deletion example-monorepos/with-tailwind/apps/next/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const nextConfig = {
reactStrictMode: false,
webpack5: true,
experimental: {
forceSwcTransforms: false, // set this to true to use reanimated + swc experimentally
forceSwcTransforms: true,
swcPlugins: [[require.resolve('./plugins/swc_plugin_reanimated.wasm')]],
},
}
Expand Down

3 comments on commit c6f537d

@vercel
Copy link

@vercel vercel bot commented on c6f537d Jan 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

solito-s9oj – ./example-monorepos/with-tailwind/apps/next

solito-s9oj-git-master-beat-gig.vercel.app
solito-s9oj.vercel.app
solito-s9oj-beat-gig.vercel.app

@vercel
Copy link

@vercel vercel bot commented on c6f537d Jan 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

with-custom-fonts – ./example-monorepos/with-custom-font/apps/next

with-custom-fonts.vercel.app
with-custom-fonts-fernandorojo.vercel.app
custom-font.example.solito.dev
with-custom-fonts-git-master-fernandorojo.vercel.app

@vercel
Copy link

@vercel vercel bot commented on c6f537d Jan 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

solito-app – ./example-monorepos/blank/apps/next

solito-app-git-master-fernandorojo.vercel.app
solito-app.vercel.app
solito-app-fernandorojo.vercel.app
example.solito.dev

Please sign in to comment.