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
{{ message }}
This repository has been archived by the owner on Jul 6, 2021. It is now read-only.
I created simple next app which detects type of user devise (in each file in 'pages' directory) and returns a specific component depending on it. This app uses CSS-mudules provided by @zeit/next-sass plugin. It also uses dynamic import to implement javascript bundle splitting for desktop and mobile versions of app.
But styles of these two component trees (Desktop & Mobile) are not included in the main css bundle when I use dynamic import instead of normal
How can I fix it? May be it's not the best way to split desktop and mobile bundles of next-based app?
I created simple next app which detects type of user devise (in each file in 'pages' directory) and returns a specific component depending on it. This app uses CSS-mudules provided by @zeit/next-sass plugin. It also uses dynamic import to implement javascript bundle splitting for desktop and mobile versions of app.
But styles of these two component trees (Desktop & Mobile) are not included in the main css bundle when I use dynamic import instead of normal
How can I fix it? May be it's not the best way to split desktop and mobile bundles of next-based app?
The text was updated successfully, but these errors were encountered: