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 Jan 11, 2023. It is now read-only.
codemirror.css is not being included. It looks like Repl.js dynamically imports codemirror.js which imports codemirror.css. In 0.28.0 it got stuck into main.css
The text was updated successfully, but these errors were encountered:
The trigger for the problem is that the index route imports the REPL and the repl route dynamically imports the REPL. As a result, codemirror.js has already been added to processed_chunks and isn't seen as a leftover chunk from a dynamic import.
It seems the original algorithm of just sticking the leftover stuff in the application entry chunk isn't going to work. We could probably solve it by making the existing algorithm even more complicated:
Find all dynamically imported chunks that are not routes
Calculate the transitive dependency tree of each dynamically imported route
Include the css for each of these trees in the application entry chunk
The reason this had not been reported in previous versions of Sapper is because Sapper duplicated all CSS into main.css (#1076#1127)
codemirror.css
is not being included. It looks likeRepl.js
dynamically importscodemirror.js
which importscodemirror.css
. In 0.28.0 it got stuck intomain.css
The text was updated successfully, but these errors were encountered: