Closed NikarashiHatsu closed 1 month ago
same issue here
There's PR #471 that should fix this, and we're waiting to get merged when 2.5.1 will be released 😄
@matteotumiati classic silly copy-paste predicament 😅
This issue completely broke my production. Hopefully the fix comes quick
losing hours of my life because of this issue (in the weekend with flue)... i'll wait 2.5.1 to be released...
3 weeks to merge a fix with one line change... Why a bug, that break the compilation and not allow to deploy it, that must be a priority fix, can be standby for a 3 weeks?
When is the v2.5.1 release due to go out?
Hey everyone!
The v2.5.1 release with important fixes is now live. We sincerely apologize for the delay in rolling out this hotfix update.
Cheers!
Hello @jahaganiev,
I've updated to v2.5.1, but I'm still encountering the same issue when running npm run build
. However, everything works fine with npm run dev
.
Any solution for this issue??
Summary
Double
typeof
keyword causesrequire is not defined
bugSteps to Reproduce
npm run build
orbun run build
.My current workaround is downgrading to
2.4.0
or editing the package file to remove the extratypeof
.Please let me know if this is intended, or a typo, since I'm not an expert into JavaScript.
Demo Link
https://github.com/NikarashiHatsu/preline-typeof-bug
Expected Behavior
There are no
require is not defined
error on the console.Actual Behavior
The error
require is not defined
is exists on compiled asset of Preline.Screenshots
On line 50