Open monecchi opened 2 years ago
I've refactored a nodejs project to use ES6 modules which depends on mongoose-slug-generator.
I'm getting an error when trying import slug from 'mongoose-slug-generator;
import slug from 'mongoose-slug-generator;
Any chances of having the package updated in the near future to comply with ESM?
import * as slugGenerator from 'mongoose-slug-generator';
@alextomas80 Thanks for pointing it out! Indeed, that was the solution!
I've refactored a nodejs project to use ES6 modules which depends on mongoose-slug-generator.
I'm getting an error when trying
import slug from 'mongoose-slug-generator;
Any chances of having the package updated in the near future to comply with ESM?