Testing offline in local dev mode #165
Unanswered
Yuripetusko
asked this question in
Q&A
Replies: 1 comment
-
Seems reasonable, whats the reason for not having this? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently the plugin uses
ctx.webpackContext.dev
to determine if resources should be cached or not, so there's no way to test offline while runningnext dev
, wouldn't it be better to just have extra config option "disableInDev?: boolean" which would bectx.webpackContext.dev
by default ifdisableInDev
is undefined, but can be overwritten by dev if they really want to test it? Or this would create additional issues and complexities of caching webpack generated chunks?Beta Was this translation helpful? Give feedback.
All reactions