Try to get webamp to build in museum deploy

This commit is contained in:
Jordan Eldredge 2022-09-20 22:18:10 -07:00
parent 680acb5079
commit 3a387d761f
2 changed files with 2 additions and 3 deletions

View file

@ -11,9 +11,8 @@ ID = "be420a16-4ef3-43b1-ac62-35869bdf8679"
publish = "build/"
# Default build command.
command = "cd ../webamp && yarn build && cd skin-museum-client && yarn build"
command = "cd ../webamp && yarn build-library && cd skin-museum-client && yarn build"
[build.environment]
NODE_OPTIONS="--openssl-legacy-provider"
NODE_VERSION = "17.3.0"
SKIP_PREFLIGHT_CHECK = "true"
NETLIFY_USE_YARN = "true"

View file

@ -17,7 +17,7 @@
"lint": "eslint . --ext ts,tsx,js",
"type-check": "tsc",
"build": "webpack --config=demo/config/webpack.prod.js",
"build-library": "webpack --config=config/webpack.library.js",
"build-library": "NODE_OPTIONS=--openssl-legacy-provider webpack --config=config/webpack.library.js",
"prepublishOnly": "npm run build-library",
"serve": "http-server ./demo/built",
"start": "webpack-dev-server --open --config=demo/config/webpack.dev.js",