Deprecate @std file_server in exchange for the transpile server #9

Closed
opened 2023-04-05 19:13:53 -04:00 by SethTrowbridge · 1 comment

After starting the example project, the parent project's lib/iso.tsx file will be transpiled and available via the example project's webserver.

However within the example/deno.json, mapping "@eno/iso" to "./lib/iso.tsx" wont work because deno will resolve that to a file system path and of course that directory doesnt exist in the file system, only on the webserver. Using that mapping in the browser would be fine, though.

After starting the *example* project, the parent project's lib/iso.tsx file will be transpiled and available via the example project's webserver. However within the example/deno.json, mapping "@eno/iso" to "./lib/iso.tsx" wont work because deno will resolve that to a **file system path** and of course that directory doesnt exist in the file system, only on the webserver. Using that mapping in the browser would be fine, though.
SethTrowbridge added this to the Basic SSR milestone 2023-04-05 19:13:56 -04:00
SethTrowbridge added this to the Eno Isomorphic Development project 2023-04-05 19:14:00 -04:00
SethTrowbridge added a new dependency 2023-04-05 19:14:26 -04:00
Author
Owner

This issue was misguided, the parent project's file server should mimic a flat-file server that cannot transpile.

However the observation above about the example project's import mapping for @eno/iso is important to note. Closing out but leaving this.

This issue was misguided, the parent project's file server should mimic a flat-file server that cannot transpile. However the observation above about the example project's import mapping for @eno/iso is important to note. Closing out but leaving this.
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Reference: SethTrowbridge/eno#9
No description provided.