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
A few commits back I was using a project-wide src/deps.ts file to export all of the dependencies used throughout the lib.
This proved to be really slow, because back then we could only import specific parts of the function lib e.g import httpAsync from 'https://raw.githubusercontent.com/architect/functions-deno/main/src/http/async/index.js', yet we'd import all the deps for the project. So I went for a 'module' specific deps.ts approach instead.
Now that the export signature has been fixed, and the whole lib can be imported like import arc from 'https://raw.githubusercontent.com/architect/functions-deno/main/src/index.js', and when caching is supported within hydrate, I think we should revert back to a single src/deps.ts file for easier maintenance / updating
The text was updated successfully, but these errors were encountered:
A few commits back I was using a project-wide
src/deps.ts
file to export all of the dependencies used throughout the lib.This proved to be really slow, because back then we could only import specific parts of the function lib e.g
import httpAsync from 'https://raw.githubusercontent.com/architect/functions-deno/main/src/http/async/index.js'
, yet we'd import all the deps for the project. So I went for a 'module' specificdeps.ts
approach instead.Now that the export signature has been fixed, and the whole lib can be imported like
import arc from 'https://raw.githubusercontent.com/architect/functions-deno/main/src/index.js'
, and when caching is supported withinhydrate
, I think we should revert back to a singlesrc/deps.ts
file for easier maintenance / updatingThe text was updated successfully, but these errors were encountered: