File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ if (args.h || args.help || args._.length > 1) {
5050 const settingsFile = args . s || path . join ( __dirname , '..' , 'settings.json' ) ;
5151 const outputFile = 'queries.json' ;
5252 compileSettings ( queryDir , settingsFile , outputFile ) ;
53-
53+
5454 // Compile Web version
5555 const destinationPath = args . d || 'build' ;
5656 const mode = args . m || 'production' ;
@@ -62,10 +62,10 @@ if (args.h || args.help || args._.length > 1) {
6262
6363 // Override the baseURL in the webpack config
6464 webpackConfig . baseURL . replace = baseURL ;
65-
65+
6666 // Override the buildContext in the webpack config
6767 webpackConfig . buildContext . dir = destinationPath ;
68-
68+
6969 for ( const entry of webpackConfig ) {
7070 entry . mode = mode ;
7171 if ( entry . output ) {
@@ -81,12 +81,12 @@ if (args.h || args.help || args._.length > 1) {
8181 }
8282 process . exit ( 1 ) ;
8383 }
84-
84+
8585 console . error ( stats . toString ( { colors : true } ) ) ;
8686 if ( stats . hasErrors ( ) ) {
8787 process . exit ( 1 ) ;
8888 }
89-
89+
9090 fs . unlinkSync ( '.tmp-comunica-engine.js' ) ;
9191 } ) ;
9292
You can’t perform that action at this time.
0 commit comments