Dead code that blocks Docker build #8912
Unanswered
SofiyanIfren
asked this question in
Q&A
Replies: 2 comments
-
Hi, I am not sure what you're referring to. Are you talking about a Payload template? Where is the We would happily merge a PR if I knew what this was in reference to! |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yes, here is some context : while working on the view (we wanted to modify some wording in the title), we made this import on the screenshot : Then, when building with docker, this unused import created an error |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Link to reproduction
No response
Describe the Bug
Hi ! Thank you for your amazing job ;)
When deploying via Dockerfile, we found an issue with my team : there is some code that doesn't work and stops the build, at line 22 in /src/payload.config.ts :
import CustomNavbar from './component/CustomNavBar'
This component isn't used and... is inexisting, so I just removed it and it worked well.
I can make a PR if you want ;) H
ave a nice day
To Reproduce
Just run docker build -t cms-proviridis:1.1.1 .
Payload Version
Adapters and Plugins
No response
Beta Was this translation helpful? Give feedback.
All reactions