issues Search Results · repo:lcxfs1991/html-res-webpack-plugin language:JavaScript
Filter by
23 results
(63 ms)23 results
inlcxfs1991/html-res-webpack-plugin (press backspace or delete to remove)我使用python的flask开发,使用的jinja2模板,需要把js插入到html指定的位置。能否这样实现呢:
head
title Inject point title
// chunk1插入的位置
script src= another.js /script
// chunk2插入的位置
/head
yunyuyuan
- Opened on Jun 15, 2020
- #35
发现html-res-webpack-plugin的一个问题,如果我给webpack的output的chunkFilename增加querystring参数 image path.extname返回的是.js?_tid=1 image
然后stats.assets对象的内容是 image 但md5HtmlRes方法里面做了removeQueryHash处理,导致newRoute匹配不上assets对象里的内容 ...
LukeLin
- Opened on May 30, 2019
- #32
HtmlWebpackPlugin产出的文件生成的是index.html index.html中引入的是main.[hash].js main.[hash].css
但是我的项目 想生成的是js文件 如sdk-load.js main.[hash].js main.[hash].css sdk-load.js是我自定义的脚本 脚本内部想包含main.[hash].js
main.[hash].css的文件名 ...
zhishaofei3
- Opened on Dec 29, 2018
- #31
lcxfs1991
- 1
- Opened on Aug 21, 2018
- #30
lcxfs1991
- Opened on Nov 10, 2017
- #26
lcxfs1991
- Opened on Nov 8, 2017
- #24
My webpack config
new HtmlResWebpackPlugin({
mode: html ,
filename: config.build.index,
template: index.html ,
inject: true,
chunks:
{
app.js :{}
...
zD98
- 2
- Opened on Aug 18, 2017
- #23
Unhandled rejection TypeError: htmlContent.replace is not a function at
HtmlResWebpackPlugin.apply.compiler.plugin.compiler.plugin.Promise.resolv
e.then.then.HtmlResWebpackPlugin.buildStatsHtmlMode.HtmlResWebpackPlugin.printCh ...
qazzhoubin
- 1
- Opened on May 11, 2017
- #21

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.