A Blueprint For Serverless Monorepos

Поделиться
HTML-код
  • Опубликовано: 21 окт 2024

Комментарии • 2

  • @rumenneshev9433
    @rumenneshev9433 2 года назад +1

    There's another "problem" imo. How to make each serverless deployment to include only the packages it uses, because packaging the whole top level node_modules folder can increase the zip size very much? This is my current problem. Probably here chipperjs could help?

    • @0xZeno
      @0xZeno 2 года назад

      Hi @rumen, we have been deploying everything under node_modules for all packages. What you suggest is possible but we didn't have the need to introduce that optimization. Another option is to package all your node_modules into a custom lambda layer and utilise that.