Closed Timpan4 closed 2 years ago
It looks like you are using ES6-modules in Nodejs-Module-Project. Here is how to use in Node.js, please check:
https://github.com/nextapps-de/flexsearch#nodejs
You don't need to import "advanced" encoder, because there are already included in the Nodejs-Bundle. Just use charset: "latin:advanced"
as an option.
I'm getting this issue when trying to import the "advanced" encoders:
Doesn't matter if i use import or require, the error is comming from within the package.
My code: