(_, id)
| 18 | return { |
| 19 | name: 'workerPlugin', |
| 20 | transform(_, id) { |
| 21 | if (id.endsWith('?worker') || id.endsWith('?worker-inline')) { |
| 22 | return { |
| 23 | code: getMockedWorkerMain(), |
| 24 | map: { mappings: '' }, |
| 25 | }; |
| 26 | } |
| 27 | return null; |
| 28 | }, |
| 29 | }; |
| 30 | } |
| 31 |
nothing calls this directly
no test coverage detected