How to import a bpmn file in rollup

I am using Stenciljs and trying to setup in my first modeller example.
I am not able to import a bpmn file since it complains
"Cannot find module ‘./sample.bpmn’ or its corresponding type declarations’

Here’s how I try to import.
import diagramXML from ‘./sample.bpmn’;

Is there a rollup plugin available to import .bpmn files.
Stenciljs uses rollup for bundling.

I guess you can use any plugin that imports text files as strings. Have you considered that?