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

贡献者指南