File tree Expand file tree Collapse file tree 3 files changed +8274
-2
lines changed
Expand file tree Collapse file tree 3 files changed +8274
-2
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ module.exports = {
2626 externals : [ "knex" , "sharp" ] ,
2727 // Set default file extensions to use the raw-loader with
2828 rawFileExtensions : [ "pem" , "txt" ] ,
29- sourceType : "module" // "script" | "module" | "unambiguous"
29+ sourceType : "module" , // "script" | "module" | "unambiguous"
30+ nodeDirname : false
3031 }
3132} ;
Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ const forceExclude = config.options.forceExclude;
3737const ignorePackages = config . options . ignorePackages ;
3838const rawFileExtensions = config . options . rawFileExtensions ;
3939const sourceType = config . options . sourceType ;
40+ const nodeDirname = config . options . nodeDirname ;
4041const fixPackages = convertListToObject ( config . options . fixPackages ) ;
4142const tsConfigPath = path . resolve ( servicePath , config . options . tsConfig ) ;
4243
@@ -438,6 +439,6 @@ module.exports = ignoreWarmupPlugin({
438439 { minimize : false } ,
439440 plugins : plugins ( ) ,
440441 node : {
441- __dirname : false
442+ __dirname : nodeDirname
442443 }
443444} ) ;
You can’t perform that action at this time.
0 commit comments