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?
@John Leal
f
Hey @Jacob Hayes, if you exclude this service from the workspace packages, does that work?
j
We’ll try that and let you know
j
@Frank We removed it from the workspaces and this was the result. Suggestions?
f
@Jacob Hayes @John Leal we just rolled out an update to Seed to allow u to override the compile command using the
compile
hook https://seed.run/docs/adding-a-build-spec.html#seedyml
You can try something like this:
Copy code
compile:
  - if [ $SEED_SERVICE_NAME = "foo" ]; then npm install; fi
  - if [ $SEED_SERVICE_NAME != "foo" ]; then yarn install; fi
Let me konw if that works for you