Skip to content

Commit bcfa3fb

Browse files
Src
1 parent 253ca20 commit bcfa3fb

File tree

3 files changed

+5
-17
lines changed

3 files changed

+5
-17
lines changed

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,10 @@
1010
"resize-toolbox-images": "node ./bin/resize-toolbox-images.mjs"
1111
},
1212
"dependencies": {
13-
"path": "^0.12.7",
1413
"react": "^17.0.2",
1514
"react-dom": "^17.0.2",
1615
"react-router-dom": "^6.27.0",
17-
"shadertoy-react": "^1.1.2",
18-
"url": "^0.11.4"
16+
"shadertoy-react": "^1.1.2"
1917
},
2018
"devDependencies": {
2119
"@monaco-editor/react": "^4.3.1",

src/Pages/ProjectsPage/PGASGame.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import { Paragraph } from "../../Components/Paragraph";
22

3-
import LevelsSS from "@src/PGAS24_LevelsSS.png";
4-
import MainMenuSS from "@src/PGAS24_MainMenuSS.png";
5-
import PowerupSS from "@src/PGAS24_PowerupSS.png";
6-
import WarningSS from "@src/PGAS24_WarningSS.png";
3+
import LevelsSS from "/src/PGAS24_LevelsSS.png";
4+
import MainMenuSS from "/src/PGAS24_MainMenuSS.png";
5+
import PowerupSS from "/src/PGAS24_PowerupSS.png";
6+
import WarningSS from "/src/PGAS24_WarningSS.png";
77

88
export default function PGASGame(){
99
return <div className="relative grid place-items-center">

vite.config.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,8 @@
11
import { defineConfig } from 'vite'
22
import react from '@vitejs/plugin-react'
3-
import * as path from "path";
4-
import { fileURLToPath } from 'url';
5-
6-
const __dirname = fileURLToPath(new URL('.', import.meta.url));
73

84
// https://vitejs.dev/config/
95
export default defineConfig({
106
plugins: [react()],
117
assetsInclude: ['**/*.PNG'],
12-
13-
resolve: {
14-
alias: {
15-
"@src": path.resolve(__dirname, "src"),
16-
},
17-
},
188
})

0 commit comments

Comments
 (0)