Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

get output dir from webpack options

module.exports = (options, webpack) => {
   let outputFile = options.output.filename;
   let outputDir = path.dirname(outputFile);
   }
 
PREVIOUS NEXT
Tagged: #output #dir #webpack #options
ADD COMMENT
Topic
Name
2+3 =