How to Access Files Outside the `.next` Folder in a Next.js Project Due to Webpack Restrictions?
I’m working on a Next.js project and I’m facing an issue with accessing files outside the .next
directory due to Webpack restrictions. I have a CommandHandler
class that needs to load commands from a directory located at /Users/x/Documents/Development/project/src/lib/service/command/commands
. However, my project structure and Webpack configuration seem to prevent accessing files outside of the .next
directory.