Recommended npm packaging flow #25
Replies: 1 comment
-
|
There are several difficulties in publishing libmedia to npm at present:
Therefore, I don’t have any good suggestions on npm packing at present. The development way I recommend is to depend on the source code to develop and compile what you need. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Dear maintainer,
I would like to ask the recommended way to modify the configs for the npm packing flow for this scenario:
src/), the new code includes new-added ts, .wgsl files and generatedist/, the entry point of package modules would beindex.js(oravplayer.jsin this scenario we only need avplayer module rather than avtranscoder etc.).npm publishfiles indist/into npm package registry for the user, they should not see the source codenpm install libmediafor installation then he/she canimport {xxx} from libmediarather than import thins from node_modules/Thanks
Beta Was this translation helpful? Give feedback.
All reactions