File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed
Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ async function exists(path: string) {
144144 await access ( path , fsconstants . R_OK | fsconstants . W_OK ) ;
145145 return true ;
146146 }
147- catch ( err ) {
147+ catch {
148148 return false ;
149149 }
150150}
Original file line number Diff line number Diff line change 11{
2+ "extends" : " ../../tsconfig.json" ,
23 "compilerOptions" : {
3- "module" : " ESNext " ,
4- "moduleResolution" : " node " ,
4+ "module" : " NodeNext " ,
5+ "moduleResolution" : " NodeNext " ,
56 "target" : " ES2016" ,
67 "outDir" : " dist/out" ,
78 "lib" : [
9+ " ES2020" ,
810 " DOM" ,
911 " DOM.Iterable" ,
1012 ],
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ export default (env) => {
4949 // since sites like greasyfork don't allow minified userscripts:
5050 minimize : false ,
5151 minimizer : [
52- ` ...` ,
52+ " ..." ,
5353 new CssMinimizerPlugin ( ) ,
5454 ] ,
5555 } ,
@@ -100,7 +100,7 @@ export default (env) => {
100100 } ,
101101 // enable sourcemaps if NODE_ENV === "development"
102102 ...( mode === "development" ? { devtool : "source-map" } : { } ) ,
103- ...( silent ? { stats : "errors-only" , } : { } ) ,
103+ ...( silent ? { stats : "errors-only" } : { } ) ,
104104 plugins : [
105105 new MiniCssExtractPlugin ( {
106106 // name of the emitted css bundle
You can’t perform that action at this time.
0 commit comments