(name: string)
| 86 | }; |
| 87 | |
| 88 | const copyPackage = (name: string): void => { |
| 89 | const destination = join(out, "node_modules", name); |
| 90 | mkdirSync(dirname(destination), { recursive: true }); |
| 91 | cpSync(packageDir(name), destination, { recursive: true, dereference: true }); |
| 92 | }; |
| 93 | |
| 94 | // Worker-bundler consumers load `dist/index.bundled.js` from the resolved |
| 95 | // package, falling back to bundling `dist/index.js` with esbuild at runtime. |
no test coverage detected