小编utk*_*ngh的帖子

错误:html-webpack-plugin 无法缩小生成的输出

在部署到 heroku 时,我收到以下错误。我无法解决它,因为我对 html-webpack-plugin 一无所知。请帮助。我的代码-https://github.com/utkarsh-cmd/Shop_INN

Creating an optimized production build...
    remote:        Failed to compile.
    remote:
    remote:        Error: html-webpack-plugin could not minify the generated output.
    remote:          In production mode the html minifcation is enabled by default.
    remote:          If you are not generating a valid html output please disable it manually.
    remote:          You can do so by adding the following setting to your HtmlWebpackPlugin config  :
    remote:          |
    remote:          |    minify: false
    remote:          |
Run Code Online (Sandbox Code Playgroud)

heroku node.js reactjs webpack html-webpack-plugin

2
推荐指数
1
解决办法
4538
查看次数

标签 统计

heroku ×1

html-webpack-plugin ×1

node.js ×1

reactjs ×1

webpack ×1