You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently moved lots of imports to use absolute imports since they are easier to refactor, look better, etc.
The only issue is it seems like webpack takes much longer to initially compile, and compile any changes thereafter while the dev server is running. I'm talking 120,000 milliseconds.
Am I looking at the wrong thing or does webpack just have a really hard time with absolute imports?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
For context, I'm on CRA 5.0.0 and react 17.0.1
I recently moved lots of imports to use absolute imports since they are easier to refactor, look better, etc.
The only issue is it seems like webpack takes much longer to initially compile, and compile any changes thereafter while the dev server is running. I'm talking 120,000 milliseconds.
Am I looking at the wrong thing or does webpack just have a really hard time with absolute imports?
Beta Was this translation helpful? Give feedback.
All reactions