On 12/7/24 10:14, PICCA Frederic-Emmanuel wrote:
Hello,
I would like to create some 3D figures using three.js
In order to test it I need to start a webserver
I use in that case
python -h http.server
But from this server I can nos access the /usr/share/javascript directory.
At the end I will need to distribut this documentation somewhere on internet.
So I need to create a bundle with all the three dependencies. (webpack ?)
So my question is:
How Can I create a bundle that I can distribut with only the Debian installed
javascript code installed via Debian packages.
thanks for your help.
Frédéric
Hi,
if you have a package.json with a target that build the bundle (and if
dependencies exist in Debian), you can use this:
$ pkgjs-install-minimal
$ npm run <bundle-target>
Else, you have to build the command using webpack or rollup
--
Pkg-javascript-devel mailing list
Pkg-javascript-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel