Replace Makefile w/ something that reads the libs metadata

Fixes #122
This commit is contained in:
Jonathan Hornung 2025-08-15 08:57:49 +02:00
commit b8d8f545b0
5 changed files with 616 additions and 301 deletions

View file

@ -31,7 +31,12 @@
"start:development": "npx webpack serve --mode=development",
"start:production": "NODE_ENV=production PUBLIC_URL=http://localhost:3000/dist/ npm run build && npx serve",
"start": "npm run start:development",
"build": "NODE_ENV=production webpack --mode=production"
"build": "NODE_ENV=production webpack --mode=production",
"build:libs": "node build-libs.js build",
"build:libs:clean": "node build-libs.js clean",
"build:libs:wasm": "node build-libs.js wasm",
"build:libs:fonts": "node build-libs.js fonts",
"build:all": "npm run build:libs && npm run build"
},
"eslintConfig": {
"extends": [
@ -74,9 +79,10 @@
"style-loader": "^4.0.0",
"ts-loader": "^9.5.1",
"tslib": "^2.8.1",
"typescript": "^5.9.2",
"webpack": "^5.97.1",
"webpack-cli": "^6.0.1",
"webpack-dev-server": "^5.2.0",
"workbox-webpack-plugin": "^7.3.0"
}
}
}