Git Product home page Git Product logo

Comments (4)

wouterrutgers avatar wouterrutgers commented on September 18, 2024 1

That shouldn't be necessary, I think the umd (https://webpack.js.org/configuration/output/) template is broken. I'll see if I can check/fix things this week!

from fuzzy-search.

ktiedt avatar ktiedt commented on September 18, 2024

Turns out switching from:

import FuzzySearch from 'fuzzy-search'
// to
const FuzzySearch = require('fuzzy-search');

worked.

I will leave this open just in case there is something meaningful to this failure.

Thanks again!

from fuzzy-search.

kmjungersen avatar kmjungersen commented on September 18, 2024

I had to import as: import * as FuzzySearch from 'fuzzy-search'; to resolve this. Otherwise the types weren't coming in properly too.

from fuzzy-search.

wouterrutgers avatar wouterrutgers commented on September 18, 2024

Apparently #52 also fixes this issue. It's working for me now, so I'm closing this issue.

Feel free to reopen it if the problem persist for you!

from fuzzy-search.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.