On 12/7/24 14:00, picca wrote:
Sorry I was not subscriber. Now i am

So I follow up here:

Hi,

if you have a package.json with a target that build the bundle (and if
dependencies exist in Debian), you can use this:

I just use libjs-three

$ pkgjs-install-minimal
$ npm run <bundle-target>

Else, you have to build the command using webpack or rollup

I just have a main.html and a main.js with the javascript code which use three.

So I would like something which generates from there two files, an html files with everythings bundled inside it.

Maybe simply:
$ mkdir -p build && cp main.html build/ && \
 cat /usr/share/javascript/libjs-three.js main.js >build/main.js


--
Pkg-javascript-devel mailing list
Pkg-javascript-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to