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
I'm making this issue here because things may change and I don't want to notify a lot of people ahead of time with my thoughts.
Goals:
De-dupe typings
Manifest files
Fix module typings conflicts
The idea:
Content addressable hashes. For the next version I'd really like to fix de-duping and re-writing of dependencies which causes issues on import still. I realised one way to solve all of the above is to use content hashes as the file names and just write wrappers to the content hashed .d.ts files. The structure will look more like:
The stored content hashed files will be per-typed file and the nature of hashes will avoid duplicated dependencies. No more rewriting typings other than import/export still, and writing a wrapper separately. This is a pretty big architectural change though, so I'll be working on it in core first.
...
declare module 'popsicle' {
export * from '../.store/klou3f3u34u982r04jdf.d.ts'
}
I'm making this issue here because things may change and I don't want to notify a lot of people ahead of time with my thoughts.
Goals:
The idea:
Content addressable hashes. For the next version I'd really like to fix de-duping and re-writing of dependencies which causes issues on import still. I realised one way to solve all of the above is to use content hashes as the file names and just write wrappers to the content hashed
.d.tsfiles. The structure will look more like:The stored content hashed files will be per-typed file and the nature of hashes will avoid duplicated dependencies. No more rewriting typings other than
import/exportstill, and writing a wrapper separately. This is a pretty big architectural change though, so I'll be working on it incorefirst.