Problem with browserify

Hi all,

I have a problem with using cosmos:browserify + meteorhacks:npm and react-mfb package from npm.
Here’s my packages.json:

  "externalify": "0.1.0",
  "react-mfb": "0.3.0"


  "transforms": {
    "externalify": {
      "global": true,
      "external": {
        "react": "React.require"

ReactMfb = require("react-mfb");
Then somewhere in a .jsx:

const {Menu, MainButton, ChildButton} = ReactMfb;

The weird part is that it doesn’t throw an error, I can see the components in the DOM, but they didn’t render correctly - it seems their CSS files are missing, but I’m just guessing.

Am I doing something wrong? Do I have to add something else to add the required styles?


Did you find a fix for this?

with meteor 1.3, you no longer need either packages, just npm i <package> from the commandline and require()