Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot use webpackOutputPath config with serverless-bundle #20

Open
joshg47 opened this issue Jan 16, 2023 · 0 comments
Open

Cannot use webpackOutputPath config with serverless-bundle #20

joshg47 opened this issue Jan 16, 2023 · 0 comments

Comments

@joshg47
Copy link

joshg47 commented Jan 16, 2023

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant