How to load/import/include FlexSearch into common environments #417
ts-thomas
announced in
Announcements
Replies: 1 comment 3 replies
-
Using Vite and with tsconfig set to // @ts-expect-error there are no types expected here
import { Index, Document, Worker } from 'flexsearch/dist/flexsearch.bundle' It's not ideal, but it means |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Please let us collect all the environments which needs to be supported out of the box and what is needed to reach this goal. It should have the most simple solution for the specific environment. So please feel free to make your suggestions and don't forget to provide a full example of what is needed to do.
Browser
Legacy ES5 Script Tags
ES6 Modules (ESM)
ES6 Bundled Module (ESM)
Node.js
Default Require
Or:
Beta Was this translation helpful? Give feedback.
All reactions