hello! I've run into an issue with using packaging my typescript frontend in a Docker image. we're using next.js, which has hooks around file naming, and encourages you to name things with [ square brackets ]. When trying to create a files target, I'm getting the
must have 1 file, but it had 0 files
error on one of these square bracket files, but I can't seem to find a way around it.
I did try adding a pants_ignore rule to pants.toml, but it did not make a difference. I could not figure out the correct way to escape the brackets, so I am using *, which you'll see in my BUILD file.
My assumption is that it's the square brackets messing things up, but would appreciate any help/thoughts you might have!
here is my build file directly trying to import that single file, and the error
and I also get the same error if I ** include all the files I actually need too
pants package on that Dockerfile works if I remove the file