Skip to content

Commit

Permalink
RSC: Remove App.tsx from setup (#10137)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobbe authored Mar 7, 2024
1 parent 37fd1c7 commit 63fac52
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 35 deletions.
16 changes: 0 additions & 16 deletions packages/cli/src/commands/experimental/setupRscHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -289,22 +289,6 @@ export const handler = async ({ force, verbose }) => {
})
},
},
{
title: 'Overwrite App.tsx...',
task: async () => {
const appTemplate = fs.readFileSync(
path.resolve(__dirname, 'templates', 'rsc', 'App.tsx.template'),
'utf-8'
)

const appPath =
rwPaths.web.app ?? path.join(rwPaths.web.src, 'App.tsx')

writeFile(appPath, appTemplate, {
overwriteExisting: true,
})
},
},
{
title: 'Add React experimental types',
task: async () => {
Expand Down

This file was deleted.

0 comments on commit 63fac52

Please sign in to comment.