Quick Question. How does one load in a different config file into a project?
Example:
I have a data.js file under my-app/config/data.js
which exports an array as the default:
module.exports = [ 'some-data' ];
I then import it into a component like so:
import data from 'my-app/config/data';
But I get the following error:
Uncaught Error: Could not find module `my-app/config/data` imported from `my-app/pods/components/some-component/component`