DIBgram / tdweb

Prebuilt TDWeb (TDLib for web). This repository contains build results of TDWeb, and is published on NPM. A new version is built on every TDLib version, but if you need a newer version, ask in the issues (it takes ~1.5 hours and very little manual effort)
https://npmjs.com/package/@dibgram/tdweb
9 stars 1 forks source link

move build file to dist/tdweb #2

Closed ILG2021 closed 2 years ago

ILG2021 commented 2 years ago

Hello DIBgram, can you change webpack config to package output file to a folder like tdweb, so the files will be like this:

dist/tdweb/1.e0d8d673d927d408e89d.worker.js
dist/tdweb/28495f2d748d78bb12a6e6e3242cc696.wasm
dist/tdweb/tdweb.js

That will help when I use tdweb in a web app. You can see how telegram react use tdweb now: https://github.com/evgeny-nadymov/telegram-react/tree/master/public The tdweb files are not in a folder, so when I need to replace tdweb, it is not convenient.

Mammad900 commented 2 years ago

That will help when I use tdweb in a web app. You can see how telegram react use tdweb now: https://github.com/evgeny-nadymov/telegram-react/tree/master/public The tdweb files are not in a folder, so when I need to replace tdweb, it is not convenient.

Can you elaborate? How does this change affect the process to upgrade TDLib?