toastdotdev / toast

The best place to stack your JAM. Toast is a Jamstack framework
153 stars 13 forks source link

fix: paths to modules and page-wrapper.js #5

Closed jbolda closed 4 years ago

jbolda commented 4 years ago

First step was to fix paths to find mjs in node_modules/toastrs not routed through the symlink in bin. Windows doesn't have a symlink to BREAKAGES. For the page-wrapper.js, we had to fix both the UNC in windows from std::fs::canonicalize and imports can't have an absolute path beginning with C: (the letter drive). So we munge it and convert it to a posix based relative path.