PENG XING(Yongdi Yu)

Results 19 comments of PENG XING(Yongdi Yu)

I have the same issue, even the latest version v2.3.2. NTFSTool unmouts the disk, I just mounted on by the commnd `diskutil mountDisk /dev/disk2`

The original intention of `sw-register.js` is that we don't want developers care about the `cache-control: no-cache` header of `sw.js`. I think that is a little complicated. The URL of `sw.js`...

If don't disable caching of **`sw.js`**, service worker won't get updated immediately.

@jakearchibald Thanks. I didn't notice that this problem has been fixed since Chrome 68. I created a new issue https://github.com/lavas-project/jekyll-pwa/issues/19, and I'll remove `sw-register.js` when it's Chrome 68+.

Sorry, I'll merge this PR in 10 days because of Chinese Spring Festival.

Where should we store the source code of `sw-register.js` and inline script? We may need change them someday in the future.

按照不同的路由设置不同的 skeleton 就可以了吧?

嗯,我本地实验了一下,也改了改代码,webpack4 下 `mini-css-extract-plugin` 太难用了。。我还真不知道怎么改,把 `process.env.NODE_ENV` 改成 `production` 就可以渲染出 css

webpack 版本呢? 你试试在配置中加上 `quiet: true` 试试