webpack hangs at on “95% emit” / “95% emitting”

前端 未结 11 2035
不思量自难忘°
不思量自难忘° 2021-02-05 14:52

This is my production webpack config. The two quotes in the title refer to webpack2 and webpack respectively. Both hang for me with a similar error.

This is my command t

11条回答
  •  情歌与酒
    2021-02-05 15:17

    So I figured this out. It turns out I was including reserved characters in my output path. I've since opened an issue on github.

    When using an invalid or reserved character in the output.path webpack will hang with no output. Running with the --progress flag will show that it's hanging on 95% emit(ting) (suffix depending on webpack version).

提交回复
热议问题