Skip to content

Latest commit

 

History

History
91 lines (66 loc) · 3.07 KB

notes.md

File metadata and controls

91 lines (66 loc) · 3.07 KB

Rush + Heft

Typescript based monorepo build system.

Heft notes

xlib xplat notes

upgrading dependencies

see xlib's package.json for list of scripts to run. in particular: rush dep-check --verbose

REWRITE NOTES

scratch

isomorphic research notes

library extensibility / plugin architecture

after v18

  • rename to isol?

  • worker threads: so far threads.js is the easiest to work with.

    • but even with that, can not easily bundle into a single webpack file: andywer/threads.js#307
    • if other solutions are needed here is a summary as of 202009:
web-worker:  isomorphic worker implementaiton.   https://github.com/developit/web-worker
	doesn't seem to do much in browser?
	
worker-loader: embed workers as blobs into webpack bundle.  https://webpack.js.org/loaders/worker-loader/



comlink:  warpper over worker: https://github.com/GoogleChromeLabs/comlink#readme


comlink-loader:  load comlink into webpack  https://www.npmjs.com/package/comlink-loader
	author thinks worker-plugin is better.
	author also wrote web-worker
worker-plugin:  load comlink into webpack  https://www.npmjs.com/package/worker-plugin
	threads-loader is a copy of this

todo