Results 17 comments of byte

请问博主,针对多页面有什么好的解决方案吗,除了index.html 我还有htm/**/*.html等页面 自动化压缩打版本加hash自动替换,有什么好的解决方法吗

策略模式没有留出口吧,所有条件检验成功后,再次点击提交this.cache会报错,

实在抱歉,是我的问题,我没有用es6写。导致用普通for循环条件判断结束后出错,现在已经修正,向您学习

```js const flatten = arr => arr.reduce((acc, item) => acc.concat(Array.isArray(item) ? flatten(item) : item), []) const sw = arr => Array.from(new Set(flatten(arr))).sort((a, b) => a - b) const arr =...

试试这样写,alias需要用模块加载的方式引入 @zhaohes @liangei

@henryzp 需要安装html-loader这个插件配合 [webpack配置](https://github.com/BiYuqi/webpack-seed/blob/master/build/webpack.base.config.js#L45)

@Roll-Down 电报用socket代理(设置里里面可以添加本地IP和端口)就可以了啊,不用添加. 而且如果用的是Clash这个软件作为翻墙的渠道话,已经为你自动代理了,都不需要配置的. [客户端地址下载](https://github.com/Fndroid/clash_for_windows_pkg/releases/tag/0.18.9) . [Github](https://github.com/Fndroid/clash_for_windows_pkg)

@dev4u 电报用socket代理(设置里里面可以添加本地IP和端口)就可以了啊,不用添加. 而且如果用的是Clash这个软件作为翻墙的渠道话,已经为你自动代理了,都不需要配置的. [客户端地址下载](https://github.com/Fndroid/clash_for_windows_pkg/releases/tag/0.18.9) . [Github](https://github.com/Fndroid/clash_for_windows_pkg)

@yfjl 试试这个https://github.com/Biyuqi/webpack-seed

https://github.com/Biyuqi/webpack-seed