Skip to content

Commit

Permalink
updated build settings
Browse files Browse the repository at this point in the history
  • Loading branch information
mahimnamehta committed Dec 13, 2024
1 parent acfde28 commit 7985166
Show file tree
Hide file tree
Showing 6 changed files with 71 additions and 4 deletions.
48 changes: 48 additions & 0 deletions build/assets/index-0K115hJ0.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions build/assets/index-DoTl-FFb.css

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

16 changes: 16 additions & 0 deletions build/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/shoppingcart/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>E-Plant</title>
<meta name="keywords" content="Vite, React, plants, gardening, Air Purifying Plants, Aromatic Fragrant Plants, Insect Repellent Plants, Medicinal Plants, Low Maintenance Plants" /> <!-- Add meta keywords here -->

<script type="module" crossorigin src="/shoppingcart/assets/index-0K115hJ0.js"></script>
<link rel="stylesheet" crossorigin href="/shoppingcart/assets/index-DoTl-FFb.css">
</head>
<body>
<div id="root"></div>
</body>
</html>
Expand Down
1 change: 1 addition & 0 deletions build/vite.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
{
"name": "shoppingcart",
"name": "e-plantShopping",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"predeploy":"npm run build",
"deploy":"gh-pages -d dist",
"lint": "eslint . --ext js,jsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite build; vite preview --host"
},
Expand Down
5 changes: 4 additions & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ import react from '@vitejs/plugin-react'

// https://vitejs.dev/config/
export default defineConfig({
base: "/e-plantShopping",
base: "./e-plantShopping",
plugins: [react()],
build: {
outDir: './build',
}
})

0 comments on commit 7985166

Please sign in to comment.