Replies: 1 comment 5 replies
-
You can just put |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a pretty isolated JS file that is critical to run as early as possible (to reflect persisted theme preferences visually).
What is the best way to do this using webpack?
I've started with the simplest one:
and it kind of works but breaks the WDS experience, inserting 2 WDS/HMR clients:
lgGjEle0U8.mp4
Here is the repo to play with https://github.com/Den-dp/webpack-critical-js-example
Beta Was this translation helpful? Give feedback.
All reactions