Can I import an Ember module into a vendor file?

This is probably a strange question, but we have a polyfill in our vendor files. We want to replace the Promise polyfill code with RSVP.Promise, so we’d like to import that module into the vendor file. This should be possible right?

Not sure I understand your question. But perhaps you search for something like this:

https://github.com/martinic/ember-cli-marked/blob/master/index.js#L30