Appcache and devDependencies


#1

Hi all,

I’ve experimenting with appcache, and I noticed a rather large bundle size.

Looking at chrome://appcache-internals/

I found that my production deployment and development application both contain @storybook/... and various items in devDependencies of package.json.

But in my app, nothing references StoryBook starting from the entry point.

StoryBook is there in my repository, of course, but it has a different entry point.

I also have “too many icons” from @icons/material for the same reason.

How should I manage this?

… also if we should no longer use appcache due to deprecation, what’s the recommended way to get dynamic imports to work with Service Workers (POST and all).