@@ -10,7 +10,7 @@ module.exports = {
1010 mode : 'development' ,
1111 entry : [
1212 `webpack-dev-server/client?http://localhost:${ port } ` , // bundle the client for webpack-dev-server and connect to the provided endpoint
13- join ( srcDir , 'index.tsx' ) , // the entry point of our App
13+ join ( srcDir , 'index.tsx' ) // the entry point of our App
1414 ] ,
1515 devServer : {
1616 port,
@@ -20,7 +20,7 @@ module.exports = {
2020 headers : {
2121 'Access-Control-Allow-Origin' : '*' ,
2222 'Access-Control-Allow-Methods' : 'GET, POST, PUT, DELETE, PATCH, OPTIONS' ,
23- 'Access-Control-Allow-Headers' : 'X-Requested-With, content-type, Authorization' ,
23+ 'Access-Control-Allow-Headers' : 'X-Requested-With, content-type, Authorization'
2424 } ,
2525 proxy : [
2626 {
@@ -30,16 +30,16 @@ module.exports = {
3030 target : 'https://sky.dstack.ai/' , //0ab1c6ee-3f7b-4839-a259-5e5c6074a97f
3131 // target: 'https://sky-stage.dstack.ai/', //29001ee8-897c-47ea-bfec-819f56835ffe
3232 // target: 'https://cloud.dstack.ai/', //0ab1c6ee-3f7b-4839-a259-5e5c6074a97f
33- logLevel : 'debug' ,
34- } ,
33+ logLevel : 'debug'
34+ }
3535 ] ,
3636 client : {
3737 overlay : {
3838 runtimeErrors : ( error ) => {
3939 return ! error . message . includes ( 'ResizeObserver loop completed with undelivered notifications' ) ;
40- } ,
41- } ,
42- } ,
40+ }
41+ }
42+ }
4343 } ,
4444 devtool : 'cheap-module-source-map' ,
4545 plugins : [
@@ -57,7 +57,7 @@ module.exports = {
5757 // e.g. via import(/* webpackMode: "weak" */ './file.js')
5858 allowAsyncCycles : false ,
5959 // set the current working directory for displaying module paths
60- cwd : process . cwd ( ) ,
60+ cwd : process . cwd ( )
6161 } ) ,
6262 ] ,
6363} ;
0 commit comments