You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to hide the console warnings saying that the bundle path could not be resolved based on the javascript import path. The docs say that specifying the bundlePath option for PagefindUI should hide those warnings but it doesn't.
Code:
import{PagefindUI}from'@pagefind/default-ui';// resolves fine// inside the `connect` method of a Stimulus controllerthis.pagefindUI=newPagefindUI({baseUrl: '/',bundlePath: '/_pagefind/',element: `#${this.elementId}`,showImages: false,resetStyles: true});
The text was updated successfully, but these errors were encountered:
Sorry about this — this is a wee bug with the order of load/options for the underlying JS API. I have some plans to fix this for the upcoming Pagefind 1.0 so I'll make sure to test this specific case.
I'm trying to hide the console warnings saying that the bundle path could not be resolved based on the javascript import path. The docs say that specifying the
bundlePath
option for PagefindUI should hide those warnings but it doesn't.Code:
The text was updated successfully, but these errors were encountered: