Node.js/webpack:修订间差异
来自康健生活
| 第589行: | 第589行: | ||
搜寻解决办法过程中,有人说搭配 underscore-template-loader 使用效果更加,但实测 underscore-template-loader 会破坏图片引用压缩处理的过程,通过替换解析标签发现无效,所以弃置。 | 搜寻解决办法过程中,有人说搭配 underscore-template-loader 使用效果更加,但实测 underscore-template-loader 会破坏图片引用压缩处理的过程,通过替换解析标签发现无效,所以弃置。 | ||
现在的问题是,嵌套进来的文件因为不在 webpack 入口文件列表里,所以没有被监听。更新嵌套 ejs 的时候并不会更新 html 视图。 | |||
== html-webpack-plugin == | == html-webpack-plugin == | ||