Skip to content
This repository was archived by the owner on Oct 15, 2025. It is now read-only.
This repository was archived by the owner on Oct 15, 2025. It is now read-only.

Cannot use webpackOutputPath config with serverless-bundle #20

@joshg47

Description

@joshg47

Hey there. I originally opened an issue requesting the ability to configure where the serverless-webpack-prisma plugin looks up the .webpack folder: #18

I was happy to see it was recently added. However, I use serverless-bundle to configure all of my webpack settings. They do not allow custom serverless-webpack configurations, so when I do this:

custom:
  webpack:
    webpackOutputPath: ./ # Passing this param, plugin will change the directory to find the dir .webpack

I get this error:

Error:
'serverless-webpack config detected in serverless.yml. serverless-bundle is not compatible with serverless-webpack.'

Would it be possible to have a serverless-webpack-prisma setting that defines where the .webpack folder is? Simple as:

custom:
  prisma:
    webpackOutputPath: ./ # Passing this param, plugin will change the directory to find the dir .webpack

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions