gajus/write-file-webpack-plugin

Plugin is not working with new new web dev server

Open

#73 opened on Feb 5, 2019

 (7 comments) (2 reactions) (0 assignees)JavaScript (53 forks)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (521 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

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
    },

Contributor guide