Skip to content

Commit

Permalink
feat: remove wdyr from the starter
Browse files Browse the repository at this point in the history
  • Loading branch information
tokerson committed Jul 3, 2024
1 parent c6a5b93 commit ca0cbaf
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 29 deletions.
2 changes: 1 addition & 1 deletion .changeset/cold-squids-chew.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
"react-starter-boilerplate": patch
---

Remove wdyr from the prouction build
Remove wdyr from application
13 changes: 0 additions & 13 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@
"@typescript-eslint/parser": "7.13.0",
"@vitejs/plugin-react-swc": "3.6.0",
"@vitest/coverage-v8": "1.5.0",
"@welldone-software/why-did-you-render": "8.0.1",
"babelsheet2": "0.0.15",
"babelsheet2-json-writer": "0.0.6",
"babelsheet2-reader": "0.0.8",
Expand Down
1 change: 0 additions & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import './wdyr.ts';
import { createRoot } from 'react-dom/client';
import { ReactQueryDevtools } from '@tanstack/react-query-devtools';
import { RouterProvider, createRouter } from '@tanstack/react-router';
Expand Down
10 changes: 0 additions & 10 deletions src/wdyr.ts

This file was deleted.

4 changes: 1 addition & 3 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ const manualChunks = (id: string) => {
/* eslint-disable import/no-default-export */
export default defineConfig({
plugins: [
react({
jsxImportSource: '@welldone-software/why-did-you-render',
}),
react(),
viteTsconfigPaths(),
svgrPlugin(),
TanStackRouterVite(),
Expand Down

0 comments on commit ca0cbaf

Please sign in to comment.