-
create project using command:
preact create material preact-cli-repro474
-
run in prod mode using:
npm run serve
-
1st run - load https://localhost:8080 in browser
-
change src/route/profile/index.js
-
3rd run - run
npm run serve
and reload browser afternpm run serve
is complete -
Note differences in sw.js between 2 runs:
var precacheConfig = [
['/bundle.8f843.js', '7df369715fe18248f9c0c1c10ef6787c'],
['/index.html', 'b5de0ffd79cb85001089543d7543365d'],
['/route-profile.chunk.473c0.js', '1e8a0d3d18b9c6c9d4f84ffaab54c144']
];
var precacheConfig = [
['/bundle.2029a.js', 'c46db1dbf4d59ba075d2d9aafe49d38c'],
['/index.html', '0906d1b1e7ad5c209a5e3b293e409704'],
['/route-profile.chunk.c96cb.js', 'ebd8756d29665031bbd7e16b2c385d0f']
];