(packageName: string, fromDir: string)
| 57 | }; |
| 58 | |
| 59 | const tryResolveClient = (packageName: string, fromDir: string): string | null => { |
| 60 | const require = createRequire(resolvePath(fromDir, "_anchor.js")); |
| 61 | try { |
| 62 | return require.resolve(`${packageName}/client`); |
| 63 | } catch { |
| 64 | return null; |
| 65 | } |
| 66 | }; |
| 67 | |
| 68 | interface ExecutorVitePluginOptions { |
| 69 | /** |
no test coverage detected