()
| 168 | } |
| 169 | |
| 170 | async loadPagefindScript () { |
| 171 | if ( this.pagefind ) return |
| 172 | |
| 173 | const pagefindModule = await loadPagefindBrowserModule() |
| 174 | this.pagefind = pagefindModule.default || pagefindModule |
| 175 | |
| 176 | this.pagefind.options({ |
| 177 | bundlePath: this.bundlePath |
| 178 | }) |
| 179 | } |
| 180 | |
| 181 | async setup () { |
| 182 | if ( this.setupState !== 'not-setup' ) { |
no test coverage detected