And avoid relying on cdn's and require access to the network to use `dots-viewer` And git ignore `node_modules` Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/4334 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8754>
14 lines
229 B
Bash
Executable File
14 lines
229 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
if ! command -v npm &> /dev/null; then
|
|
echo "npm is not installed. Please install Node.js and npm first."
|
|
exit 1
|
|
fi
|
|
|
|
echo "Installing dependencies..."
|
|
npm install
|
|
|
|
echo "Building bundles..."
|
|
npm run build
|