gajus/write-file-webpack-plugin

Plugin is not working with new new web dev server

Open

#73 建立於 2019年2月5日

在 GitHub 查看
 (7 留言) (2 反應) (0 負責人)JavaScript (53 fork)github user discovery
enhancementhelp wanted

倉庫指標

Star
 (522 star)
PR 合併指標
 (PR 指標待抓取)

描述

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

貢獻者指南