gpt4 book ai didi

node.js - 错误 : html-webpack-plugin could not minify the generated output

转载 作者:行者123 更新时间:2023-12-05 09:07:24 26 4
gpt4 key购买 nike

在部署到 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: |

最佳答案

这可能是因为 index.html(在公用文件夹内)中的语法错误。例如:index.html 中缺少标签

关于node.js - 错误 : html-webpack-plugin could not minify the generated output,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64897918/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com