gajus/write-file-webpack-plugin

Plugin is not working with new new web dev server

Open

#73 ouverte le 5 févr. 2019

Voir sur GitHub
 (7 commentaires) (2 réactions) (0 assignés)JavaScript (53 forks)github user discovery
enhancementhelp wanted

Métriques du dépôt

Stars
 (522 stars)
Métriques de merge PR
 (Métriques PR en attente)

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

Guide contributeur