We’re using yarn/webpack across our monorepo curre...
# seed
j
We’re using yarn/webpack across our monorepo currently, but have a new service that has dependencies that don’t seem to play well with webpack. Manually deploying after building with npm works fine. Is it possible to set up that specific service in SEED such that it uses npm instead of yarn for this specific service? We tried removing it from the workspaces and this was the result. Suggestions?
f
Hi @John Leal, you can try adding a buildspec to customize the
compile
step.
Can you try something like:
Copy code
compile:
  - if [ $SEED_SERVICE_NAME = "xxxxxx" ]; then cd $SEED_SERVICE_FULLPATH && npm install; fi
  - if [ $SEED_SERVICE_NAME != "xxxxxx" ]; then yarn; fi