You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
我们项目后端使用smarty开发,但是我发现express没办法渲染php,现在我做了一个express的php解析插件,但是我发现这个插件没办法和html-webpack-plugin一起使用,也就是说我的js入口没办法自动打md5戳。
现在我也可以写一个php-loader来支持webpack对php的处理,但是感觉是在npm run dev之后就编译一次,而不是每次访问时编译,只有当文件变化时才会自动的编译。
请问如何做到每次访问php时再生成html,并且能够使用html-webpack-plugin自动打md5戳?