Adding static assets from node_modules in Meteor 1.3

Currently, I’m trying to use this NPM package in my Meteor 1.3 app:

https://www.npmjs.com/package/react-medium-editor

If you head over to the link above, you’ll see that at the top of it’s example usage, it requires two CSS files found in its node_module folder.

The workaround I’m currently using is simply to copy and paste the files and put it in my app manually. Is there an automated way to do this?

3 Likes

Too bad no one ever answered this after 6 years!

Turns out we can do it with symlinks to tell Meteor to auto-copy the files during deploy: Using npm Packages | Meteor Guide