Closed danawoodman closed 10 months ago
This worked for me, thanks a million! I think updating the docs would help until https://github.com/nextapps-de/flexsearch/pull/343 is finished.
@jorgebg glad it helped! Hopefully @ts-thomas has a chance to review and merge (or improve) so other devs aren't confused.
@danawoodman You're awesome. Thank you for your effort
Awesome pull request. Please merge!
This is the way to import Flexsearch in a Vite (etc.) project.
Glad it helped yall!
Following up on this, any chance it gets merged in so it can help others?
Thanks a lot!
The existing docs show a relative path, not the actual npm module bundle path.
I believe this should be correct for ESM/ES6 type environments and will hopefully prevent confusion as found in #341 etc.