I’ve installed a package using
npm install stuff --save wich is bringing its
.js and some
css into the project.
The project uses
In a template I’m doing:
import 'stuffjs/dist/stuff.css'; import Stuff from 'stuffjs';
In development is all completely fine.
When I run in the dev machine with
meteor --settings=settings.json --production is also all completely fine.
But navigating to the deployed build brings says:
Uncaught Error: Cannot find module 'stuffjs/dist/stuff.css'
How I suppose to include in a way that works both in dev and the built app?