Closed moltar closed 4 months ago
Sorry, lack of coffee, this issue is certainly not the isbot
issue, but the way Remix uses this internally. Sorry. Closing.
No worries. I know there was a Remix release that addressed the nature they import "isbot". In short, when using version 4 and above, use named import instead of default import
- import isbot from "isbot"
+ import { isbot } from "isbot"
Steps to reproduce
When bundling a Remix app with Vite, which uses
isbot
under the hood, the following warning is produced, which comes fromesbuild
:Expected behaviour
No warning.
Actual behaviour
Yes warning.
Additional details
Can make an isolated repro, with
isbot
andesbuild
alone, if the problem isn't clear.