Skip to content

Commit

Permalink
Add support for module dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
nictru committed Apr 3, 2024
1 parent 33ee950 commit 266c45f
Show file tree
Hide file tree
Showing 8 changed files with 34,102 additions and 7 deletions.
1 change: 1 addition & 0 deletions modules/local/report/create/app/bundle/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
3 changes: 3 additions & 0 deletions modules/local/report/create/app/bundle/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

esbuild --bundle lib.js --format=iife --global-name=lib --outfile=../dependencies/lib.js
4 changes: 4 additions & 0 deletions modules/local/report/create/app/bundle/lib.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import ForceGraph3D from '3d-force-graph';
import SpriteText from 'three-spritetext';

export {ForceGraph3D, SpriteText};
342 changes: 342 additions & 0 deletions modules/local/report/create/app/bundle/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions modules/local/report/create/app/bundle/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"dependencies": {
"3d-force-graph": "^1.73.3",
"three": "^0.163.0",
"three-spritetext": "^1.8.2"
}
}

This file was deleted.

Loading

0 comments on commit 266c45f

Please sign in to comment.