This package has a dash in it’s package name, how can you import this? This gives a syntax error:
import { masked-input } from 'meteor/sewdn:masked-input';
This package has a dash in it’s package name, how can you import this? This gives a syntax error:
import { masked-input } from 'meteor/sewdn:masked-input';
If you check the package.js
for that package you will notice there is no api.export
statement, which normally defines the variable name to import
. Without that you should just choose a name and use this form of the statement:
import maskedInput from 'meteor/sewdn:masked-input';