File tree Expand file tree Collapse file tree 3 files changed +5
-17
lines changed
Expand file tree Collapse file tree 3 files changed +5
-17
lines changed Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff line change 11import { 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
88export default function PGASGame ( ) {
99 return < div className = "relative grid place-items-center" >
Original file line number Diff line number Diff line change 11import { defineConfig } from 'vite'
22import 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/
95export default defineConfig ( {
106 plugins : [ react ( ) ] ,
117 assetsInclude : [ '**/*.PNG' ] ,
12-
13- resolve : {
14- alias : {
15- "@src" : path . resolve ( __dirname , "src" ) ,
16- } ,
17- } ,
188} )
You can’t perform that action at this time.
0 commit comments