Custom Imports, similar to Webpack loaders?

I’m attempting to load a .md file and was thinking I could load the contents through my controller as an import on the top.

Ex: const someFileContents = require('');

What would be a way I could go about this? I’m used to Webpack land and I’m slowly converting myself over to ember and Broccoli.