File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 22
33import * as ESBuild from "esbuild" ;
44import { OPTIONS } from "./config.ts" ;
5- import * as Dictionary from "./dictionary/build.ts" ;
5+ import * as Dictionary from ".. /dictionary/build.ts" ;
66
77const BUILD_OPTIONS : ESBuild . BuildOptions = { ...OPTIONS , minify : true } ;
88
File renamed without changes.
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ const BUILD_OPTIONS: ESBuild.BuildOptions = {
1010 define : { LIVE_RELOAD : "true" } ,
1111} ;
1212if ( import . meta. main ) {
13- if ( ! await exists ( new URL ( "./dictionary/dictionary.ts" , import . meta. url ) ) ) {
14- const Dictionary = await import ( "./dictionary/build.ts" ) ;
13+ if ( ! await exists ( new URL ( ".. /dictionary/dictionary.ts" , import . meta. url ) ) ) {
14+ const Dictionary = await import ( ".. /dictionary/build.ts" ) ;
1515 await Dictionary . build ( ) ;
1616 }
1717 const command = new Deno . Command ( Deno . execPath ( ) , {
@@ -25,7 +25,7 @@ if (import.meta.main) {
2525 "--watch" ,
2626 "./dictionary/watch.ts" ,
2727 ] ,
28- cwd : new URL ( "./" , import . meta. url ) ,
28+ cwd : new URL ( ".. /" , import . meta. url ) ,
2929 stdout : "inherit" ,
3030 stderr : "inherit" ,
3131 stdin : "null" ,
Original file line number Diff line number Diff line change 55 "tasks" : {
66 "build" : {
77 "description" : " Builds every static files needed for GitHub pages" ,
8- "command" : " deno run -E -R -W -N=jsr.io --allow-run --no-prompt --frozen --cached-only ./build.ts"
8+ "command" : " deno run -E -R -W -N=jsr.io --allow-run --no-prompt --frozen --cached-only ./build/build .ts"
99 },
1010 "start" : {
1111 "description" : " Starts a development server. The provided page will auto-reload whenever there are changes to the code." ,
12- "command" : " deno run -E -R -W -N=jsr.io --allow-run --no-prompt --frozen --cached-only ./dev.ts"
12+ "command" : " deno run -E -R -W -N=jsr.io --allow-run --no-prompt --frozen --cached-only ./build/ dev.ts"
1313 },
1414 "repl" : {
1515 "description" : " Starts a REPL" ,
You can’t perform that action at this time.
0 commit comments