mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-22 19:14:52 +01:00
some more sdk impl notes
This commit is contained in:
parent
fceca845a9
commit
bc86bf2d00
@ -96,3 +96,14 @@ we could put this file per build system, as ESM, in dist as well so you can incl
|
|||||||
- css files and any resource used therein
|
- css files and any resource used therein
|
||||||
- download-sandbox.html
|
- download-sandbox.html
|
||||||
- a type declaration file (index.d.ts)
|
- a type declaration file (index.d.ts)
|
||||||
|
|
||||||
|
## Questions
|
||||||
|
- can rollup not bundle the source tree and leave modules intact?
|
||||||
|
- if we can use a function that creates a chunk per file to pass to manualChunks and disable chunk hashing we can probably do this. See https://rollupjs.org/guide/en/#outputmanualchunks
|
||||||
|
|
||||||
|
looks like we should be able to disable chunk name hashing with chunkFileNames https://rollupjs.org/guide/en/#outputoptions-object
|
||||||
|
|
||||||
|
|
||||||
|
we should test this with a vite test config
|
||||||
|
|
||||||
|
we also need to compile down to ES6, both for the app and for the sdk
|
||||||
|
Loading…
Reference in New Issue
Block a user