package: three.js version: 80+dfsg2-1 severity: important When building gitlab 9.5.4 (currently in alioth git) I get the following error.
ERROR in ./blob/3d_viewer/index.js Module not found: Error: Can't resolve 'three/build/three.module' in '/usr/share/gitlab/app/assets/javascripts/blob/3d_viewer' @ ./blob/3d_viewer/index.js 5:0-50 @ ./blob/stl_viewer.js ERROR in ./blob/3d_viewer/mesh_object.js Module not found: Error: Can't resolve 'three/build/three.module' in '/usr/share/gitlab/app/assets/javascripts/blob/3d_viewer' @ ./blob/3d_viewer/mesh_object.js 9:0-78 @ ./blob/3d_viewer/index.js @ ./blob/stl_viewer.js Newer version provide a an option to build this file as seen here https://github.com/mrdoob/three.js/blob/dev/rollup.config.js output: [ { format: 'umd', name: 'THREE', file: 'build/three.js' }, { format: 'es', file: 'build/three.module.js' } ] gitlab wants minimum revision 84 so it would be a good idea to update to latest upstream release as well. Since babel and webpack is now in the archive, we could use that combination to replace rollup. If you are okay to switch to babel + webpack, I'd be happy to help.
signature.asc
Description: OpenPGP digital signature
-- Pkg-javascript-devel mailing list Pkg-javascript-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel