developit / developit/workerize-loader
Breaks on latest gatsby, only when there is a webpack cache
- Linguagem predominante
- JavaScript
- Estrelas
- 2.3k
- Forks
- 85
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
It seems like after I start the Gatsby dev server a second time — and webpack has a cache — the worker doesn't load with the exported worker functions set on the object. The moment I clear webpack's cache and restart the dev server, the worker loads fine again.
Does this very limited description by any chance give you a quick insight about what might be causing this?
I'm afraid I can't really give more details, because the inner workings of gatsby/webpack is just one big black box to me.
I can of course make a minimal reproduction with a newly bootstrapped gatsby, if this would be of any help?
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Direção de pesquisa
Crie a reprodução mínima com um projeto Gatsby recém-inicializado e, em seguida, inicie o servidor de desenvolvimento do Gatsby duas vezes com o cache do webpack habilitado. Compare o carregamento do worker e as funções exportadas do worker antes e depois de limpar o cache do webpack; está concluído quando o worker é carregado com suas funções exportadas na reinicialização com o cache.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- javascript, webpack
- Domínio
- build-system
- Tipo de issue
- Bug
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Status de atividade
- Estagnada
- Clareza
- Precisa de esclarecimento
- Facilidade para iniciantes
- 25/100