admin webpack is not working with @google-cloud/storage package #770
Replies: 6 comments
-
I believe this page in the documentation should provide you with the info you need. 🙂 |
Beta Was this translation helpful? Give feedback.
-
@GeorgeyB Thank you for pointing this out 🙌 |
Beta Was this translation helpful? Give feedback.
-
@GeorgeyB sorry to bother you, but I am facing a problem in injecting env variable in if I use Any idea? |
Beta Was this translation helpful? Give feedback.
-
@afzaalahmad, I personally initialise Be sure to call Hope that helps 👍 |
Beta Was this translation helpful? Give feedback.
-
@GeorgeyB I got your point. I am kind of confusing build time env variable with runtime env variables. I am using an env variable inside |
Beta Was this translation helpful? Give feedback.
-
Hey @afzaalahmad — I'm going to move this to a discussion at this point because it doesn't have to do with Payload core, but I have an idea for you to consider. First, just to clarify - are you saying that your One thing to try is to pass a full
And that goes at the top of our |
Beta Was this translation helpful? Give feedback.
-
Bug Report
I am trying to develop a plugin for uploading my images to google cloud storage. I am using
@google-cloud/storage
to upload files from admin to google cloud storage bucket instead of locally.Expected Behavior
It should work with
@google-cloud/storage
package to upload files.Current Behavior
webpack is throwing an error that for multiple modules stating that
Module not found
. I guess it is a conflict with webpack version 5.Steps to Reproduce
@google-cloud/storage
in your payload project.media
and try to use the package insidebeforeChange
hook.Detailed Description
Payload version: 0.18.0 , 0.20.1
Browser: Safari
System: macOS
Beta Was this translation helpful? Give feedback.
All reactions