Attempting to import a font (e.g. from /Resources) results in an incorrect build error

While attempting to build the following code, I received a build error that appears not to have been discussed anywhere online:

import "Resources/Fonts/Nontendo/Nontendo-Bold-2x-table-20-26.png"
import "Resources/Fonts/Nontendo/Nontendo-Bold-2x.fnt"

Task Terminated with exit code 1
error: Nontendo-Bold-2x.fnt should either have matching image table png/gif or encoded image data in the file
Task “Playdate Simulator” exited with a non-zero exit status: 1.

My goal is obviously to import a font from /Resources/ without copying it manually into my project structure. This use-case may not be supported, but either way I believe the build error is inaccurate.

It appears that there is no way to use "import" with a .fnt and matching .png, as opposed to a .fnt with encoded image data.