The extension is built with a legacy bundler, browserify, to preserve a file structure required for legacy extension dev. We can do the same thing with typescript, and we should, as it makes everything more maintainable.
Implement.
Differential D18218
[Cashtab] Use typescript to build extension files instead of browserify Authored by bytesofman on Jun 6 2025, 17:27.
Details
The extension is built with a legacy bundler, browserify, to preserve a file structure required for legacy extension dev. We can do the same thing with typescript, and we should, as it makes everything more maintainable. Implement. npm run extension builds, test extension locally extension / browser interaction works as before, can test at https://components.cashtab.com/ (get address, open payments, etc)
Diff Detail
Event Timeline
Comment Actions
That's the point, you don't get the window in the top left but to some left negative offset that will make the window invisible. Clamping the left computation to zero (the max(left, 0) I suggested) will make it appear on the left. | ||||||||||||||||||||||||