Giter Site home page Giter Site logo

Comments (8)

gelmio avatar gelmio commented on May 23, 2024 1

@JefteCaro I'm still getting the same error in production builds. Using version 1.4.1. (dayjs v1.11.6)

Edit: I get it when the code hits the loadLanguageModule function, rather than the isBetween function.

from react-tailwindcss-datepicker.

srini-leanfolks avatar srini-leanfolks commented on May 23, 2024

I got this also. I think it is due to dayjs in production build uses require(cjs) instead of import(mjs).

@onesine help us solve this issue

from react-tailwindcss-datepicker.

srini-leanfolks avatar srini-leanfolks commented on May 23, 2024

I used requirejs package also via cdn. But i got other issues.

image

from react-tailwindcss-datepicker.

davohambardzumyan avatar davohambardzumyan commented on May 23, 2024

@srini-leanfolks I moved the package out of node modules and fixed this part for myself.

in index.esm.js you can replace require to import isBetween from 'dayjs/plugin/isBetween (on line 940)

and i commented switch case (on line 150)

Waiting for when will be fixed this part. :)

from react-tailwindcss-datepicker.

haithem-rihane avatar haithem-rihane commented on May 23, 2024

@srini-leanfolks how it gets updated in npmjs.com ?

from react-tailwindcss-datepicker.

srini-leanfolks avatar srini-leanfolks commented on May 23, 2024

@srini-leanfolks how it gets updated in npmjs.com ?

Sorry I didn't get you

from react-tailwindcss-datepicker.

JefteCaro avatar JefteCaro commented on May 23, 2024

Fix in v1.4.1

Closing this issue

from react-tailwindcss-datepicker.

daniyal-khalil avatar daniyal-khalil commented on May 23, 2024

@gelmio facing the same issue with loadLanguageModule.

from react-tailwindcss-datepicker.

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.