File tree Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -5,24 +5,24 @@ import { parseArgs } from 'https://deno.land/
[email protected] /cli/parse_args.ts';
55
66const  args  =  parseArgs < { 
77  watch : boolean  |  undefined , 
8-   develope : boolean  |  undefined , 
8+   develop : boolean  |  undefined , 
99  logLevel : esbuild . LogLevel 
1010} > ( Deno . args ) ; 
1111
1212const  filesConfig  : esbuild . BuildOptions  =  { 
1313  allowOverwrite : true , 
1414  logLevel : args . logLevel  ??  'info' , 
15-   legalComments : args . develope  ? 'inline'  : 'none' , 
15+   legalComments : args . develop  ? 'inline'  : 'none' , 
1616  color : true , 
17-   minify : ! args . develope   ??  true , 
17+   minify : args . develop   ===   true  ?  false  :  true , 
1818  bundle : true , 
1919  format : 'esm' , 
2020  target : 'es2022' , 
21-   sourcemap : args . develope  ??  false , 
22-   sourcesContent : args . develope  ??  false , 
21+   sourcemap : args . develop  ??  false , 
22+   sourcesContent : args . develop  ??  false , 
2323  outfile : 'worker/worker.js' , 
2424  entryPoints : [ 
25-     './src/index .ts' 
25+     './src/worker .ts' 
2626  ] , 
2727} 
2828
Original file line number Diff line number Diff line change 22  "tasks" : {
33    "build" : " deno run -A ./config/build.ts" 
44    "build:watch" : " deno run -A ./config/build.ts --watch" 
5-     "build:dev" : " deno run -A ./config/build.ts --develope " 
6-     "build:dev:watch" : " deno run -A ./config/build.ts --develope  --watch" 
5+     "build:dev" : " deno run -A ./config/build.ts --develop " 
6+     "build:dev:watch" : " deno run -A ./config/build.ts --develop  --watch" 
77    "lint" : " deno lint" 
88    "test" : " deno test -A --check --reload --doc --allow-none --junit-path=\" ./report.xml\" " 
99  },
1010  "exclude" : [
11-     " ./dist/" 
1211    " ./worker/" 
1312  ],
1413  "test" : {
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments