gajus/write-file-webpack-plugin

Plugin is not working with new new web dev server

Open

#73 aberto em 5 de fev. de 2019

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

Métricas do repositório

Stars
 (522 stars)
Métricas de merge de PR
 (Métricas PR pendentes)

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

Guia do colaborador