Dapatkan Output Dir dari opsi webpack

module.exports = (options, webpack) => {
   let outputFile = options.output.filename;
   let outputDir = path.dirname(outputFile);
   }
Samiksha Singla