Relative Content

Tag Archive for reactjskubernetesnginxvitenginx-ingress

Old index.html still appears after migration from webpack to Vite

I had a React application deployed on Kubernetes cluster – built using webpack + babel, deployed using express in Docker container. Now I have migrated it to Vite + nginx in pods for serving static content instead. Cluster is opened via nginx ingress controller. When I try to reach the site it still server me the old index.html with wrong configuration which results in this error in the console:

Old index.html still appears after migration from webpack to Vite

I had a React application deployed on Kubernetes cluster – built using webpack + babel, deployed using express in Docker container. Now I have migrated it to Vite + nginx in pods for serving static content instead. Cluster is opened via nginx ingress controller. When I try to reach the site it still server me the old index.html with wrong configuration which results in this error in the console: