Skip to content

Commit

Permalink
Fix import paths and case sensitivity
Browse files Browse the repository at this point in the history
  • Loading branch information
Rami Ouanes committed Nov 9, 2024
1 parent 0591a9d commit 273404e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
9 changes: 5 additions & 4 deletions src/app.jsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import React from 'react';
import { Building, Laptop, Users, Shield, Activity, Clock, MapPin, DollarSign, Calendar } from 'lucide-react';
import PresentationSection from '/src/components/PresentationSection.jsx';
import Pillar from '/src/components/Pillar.jsx';
import ProcessStep from '/src/components/ProcessStep.jsx';
import PricingTier from '/src/components/PricingTier.jsx';
// Use relative paths
import PresentationSection from './components/PresentationSection';
import Pillar from './components/Pillar';
import ProcessStep from './components/ProcessStep';
import PricingTier from './components/PricingTier';

export default function App() {
return (
Expand Down
13 changes: 8 additions & 5 deletions vite.config.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import path from 'path'

export default defineConfig({
plugins: [react()],
base: '/hiplando-presentation/',
resolve: {
extensions: ['.js', '.jsx']
extensions: ['.js', '.jsx', '.json'],
alias: {
'@': path.resolve(__dirname, './src')
}
},
build: {
outDir: 'dist',
sourcemap: true,
rollupOptions: {
input: {
main: './index.html'
external: [],
output: {
manualChunks: undefined
}
}
}
Expand Down

0 comments on commit 273404e

Please sign in to comment.