score:0

you don't need meteorhacks:npm!

update your app to meteor 1.3 beta by following this guide: https://github.com/meteor/meteor/issues/5788

then read here how to use the new features: https://github.com/meteor/meteor/blob/release-1.3/packages/modules/readme.md

this fully solves your issue.

score:5

when meteor 1.3.2 comes out, you will be able to do, in foo.js:

import "npm-package-name/path/to/style.css";

if you are < 1.3.2, the workaround is to create a package in packages/my-asset-imports like this:

https://gist.github.com/bretfisher/9ea1ba440cb999af9c95


Related Query

More Query from same tag