gajus/write-file-webpack-plugin

Plugin is not working with new new web dev server

Open

#73 aperta il 5 feb 2019

Vedi su GitHub
 (7 commenti) (2 reazioni) (0 assegnatari)JavaScript (53 fork)github user discovery
enhancementhelp wanted

Metriche repository

Star
 (522 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Due to this commit add output.futureEmitAssets your plugin is not working anymore on new web dev server. Do you have a workaround?

Edit: I found the work around:

module.exports = {
    output: {
         ......  
        futureEmitAssets: false   // https://github.com/webpack/webpack/pull/8642/files due this change in webpack, writeFilePlugin is not working, we have to disable that option. This will not work on webpack 5
    },

Guida contributor