In any route in the Remix example app, if we add non-type imports to the remix cloudflare pages such as:
import '@remix-run/cloudflare-pages';
and
import '@remix-run/cloudflare';
the entrypoint initialization fails with errors such as this:
(
resulting in a broken application:
)
This almost for sure means that our module resolution logic (comprised of our use of pluginContainer.resolveId and our vite patch) is flowed and not correctly handing some scenarios
[!NOTE]
I did check and such imports do not break standard Remix applications created via C3
In any route in the Remix example app, if we add non-type imports to the remix cloudflare pages such as:
and
the entrypoint initialization fails with errors such as this:
( resulting in a broken application: )
This almost for sure means that our module resolution logic (comprised of our use of
pluginContainer.resolveId
and our vite patch) is flowed and not correctly handing some scenarios