File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 3
3
< head >
4
4
< meta charset ="UTF-8 " />
5
5
< meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
6
- < title > DEV packer </ title >
6
+ < title > ChatStat Creator </ title >
7
7
</ head >
8
8
< body >
9
9
< main id ="app "> </ main >
Original file line number Diff line number Diff line change 6
6
"scripts" : {
7
7
"dev" : " vite" ,
8
8
"test" : " node --test ./src/parser/binformat/tests.js" ,
9
- "build" : " npm-run-all test buildcss:* build:*" ,
9
+ "build" : " npm-run-all test buildcss:* build:* packcreator " ,
10
10
"buildcss:sass" : " sass --no-source-map --style expanded --no-error-css --load-path=node_modules/@picocss/pico/scss/ ./css/pico.custom.scss ./css/pico.custom.css" ,
11
11
"buildcss:post" : " postcss --config css --replace css/*.css !css/*.min.css" ,
12
12
"buildcss:min" : " cleancss -O1 --with-rebase --batch --batch-suffix .min css/*.css !css/*.min.css" ,
13
13
"build:worker" : " vite build --mode worker" ,
14
14
"build:chatstat" : " vite build --mode chatstat" ,
15
15
"build:creator" : " vite build --mode chatstatcreator" ,
16
- "build:pack " : " node scripts/packapp.js" ,
16
+ "packcreator " : " node scripts/packapp.js" ,
17
17
"genstats" : " npm run stats:parse" ,
18
18
"genstats:dev" : " npm-run-all stats:parse stats:format" ,
19
19
"stats:parse" : " node ./src/parser/cli.js ./stats/result.json ./stats/stats" ,
Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ export async function getWorker() {
9
9
// eslint-disable-next-line no-undef
10
10
chatstatContent = $fs . str ( "chatstat.iife.js" ) ;
11
11
} catch {
12
- workerURL = "/ dist/chatstatworker/chatstat.worker.iife.js" ;
13
- chatstatURL = "/ dist/chatstat/chatstat.iife.js" ;
12
+ workerURL = "dist/chatstatworker/chatstat.worker.iife.js" ;
13
+ chatstatURL = "dist/chatstat/chatstat.iife.js" ;
14
14
}
15
15
16
16
const myWebWorker = new Worker ( workerURL ) ;
You can’t perform that action at this time.
0 commit comments