Hi,
I am trying to build reusable react components for use in meteor.
So my first goal is to just get the .jsx file to register.
Package.onUse(function(api) {
api.versionsFrom(‘1.1.0.3’);
api.addFiles(‘reactjs-wizard.js’);
api.export(‘Wizard’);
});
Works as expected, while
Package.onUse(function(api) {
api.versionsFrom(‘1.1.0.3’);
api.addFiles(‘reactjs-wizard.jsx’);
api.export(‘Wizard’);
});
does nothing.
How to remedy this situation so I can create reusable ReactJS components and plug them into MeteorJS as packages?