Migrating a project from Webpack to Vite

The customizations I needed to add to the config due to the unique nature of the project's folder structure. Having a frontend directory where the public directory lived.

Laracasts Larabit

Adding Aliases

Adding resolve to vite config then needing to add a paths property to the tsconfig in order to remove error TS2307

Cannot find module @/Shared/Layout or its corresponding type declarations.

Questions

What is the manifest.json file for | Docs What is a d.ts file? | Resource What does the paths property in the tsconfig do?

Adding Inertia.js

Questions

Upgrading React to v18

Dealing with dependency hell - going through the package.json package by package in order to get a clean successful install.


© 2025 Terrence Eisenhower. All rights reserved.