webpack hot reload fails after compile error #762
Labels
bug report 🦗
Issue is probably a bug, but it needs to be checked
bundler: webpack 📦
Issue is related to webpack bundler
cat: performance 🚀
Issue is related to performance
needs: complete repro 🖥️
Issue need to have complete repro provided
platform: ssr 🛠️
Issue related to SSR
Hi, I found a pretty bad bug that messes up the webpack hot reload.
It would mean a lot to me if you could have a look, I tried to make things as easy as possible:
Reproduction
https://github.com/bbenezech/repro-linaria-bug
src/Other.jsx
<span>
to<spa>
(make a typo that breaks webpack compilation)src/Other.jsx
. The file is "frozen"Important points
src/index.jsx
for ex.)Other
component definition inindex.jsx
const StyledOther = styled(Other)
insrc/index.jsx
and use theOther
component directlycompile errors
, notruntime errors
webpack
4 and 5linaria
2 and 3Thank you for your time! Please tell me if I can be of any assistance.
The text was updated successfully, but these errors were encountered: