Skip to content

Commit

Permalink
Src
Browse files Browse the repository at this point in the history
  • Loading branch information
Intermentality committed Dec 10, 2024
1 parent 253ca20 commit bcfa3fb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 17 deletions.
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,10 @@
"resize-toolbox-images": "node ./bin/resize-toolbox-images.mjs"
},
"dependencies": {
"path": "^0.12.7",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-router-dom": "^6.27.0",
"shadertoy-react": "^1.1.2",
"url": "^0.11.4"
"shadertoy-react": "^1.1.2"
},
"devDependencies": {
"@monaco-editor/react": "^4.3.1",
Expand Down
8 changes: 4 additions & 4 deletions src/Pages/ProjectsPage/PGASGame.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { Paragraph } from "../../Components/Paragraph";

import LevelsSS from "@src/PGAS24_LevelsSS.png";
import MainMenuSS from "@src/PGAS24_MainMenuSS.png";
import PowerupSS from "@src/PGAS24_PowerupSS.png";
import WarningSS from "@src/PGAS24_WarningSS.png";
import LevelsSS from "/src/PGAS24_LevelsSS.png";
import MainMenuSS from "/src/PGAS24_MainMenuSS.png";
import PowerupSS from "/src/PGAS24_PowerupSS.png";
import WarningSS from "/src/PGAS24_WarningSS.png";

export default function PGASGame(){
return <div className="relative grid place-items-center">
Expand Down
10 changes: 0 additions & 10 deletions vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,8 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import * as path from "path";
import { fileURLToPath } from 'url';

const __dirname = fileURLToPath(new URL('.', import.meta.url));

// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
assetsInclude: ['**/*.PNG'],

resolve: {
alias: {
"@src": path.resolve(__dirname, "src"),
},
},
})

0 comments on commit bcfa3fb

Please sign in to comment.