html-webpack-plugin

    1热度

    1回答

    你打算怎么样?我正面临一个恼人的问题。我无法找到由html-webpack-plugin生成的index.html以便呈现它。我可以在localhost:8080/index.html上访问它,但我不知道如何在带有把手的路线上渲染它。 我想要做什么:在注射后找到我的视图,并使用koa-views和handlebar进行渲染。 整个代码:https://github.com/vini175pa/ko

    4热度

    2回答

    我第一次使用webpack,并且我对webpack并不是很全面。我正在使用角度 - ES6 - bable,我正在尝试使用webpack-angular-translate。 我得到以下错误:./~/html-webpack-plugin/lib/loader.js!./src/index.html 模块 错误解析失败:/用户/ samirshah /桌面/nuskin_translate/nod

    0热度

    1回答

    我使用html-webpack-plugin来使用webpack缩小html文件。 原始html文件只有<script src="./app.js"></script>,但在我使用html-webpack-plugin缩小文件后,它生成<script src="./app.js"></script><script src="app.js"></script>。 它插入冗余<script src="