(id)
| 13 | return null; |
| 14 | }, |
| 15 | load(id) { |
| 16 | if (id === '\0worker:nsconfig-json') { |
| 17 | const configObject = nsConfigToJson(); |
| 18 | // Return the NativeScript config as a JavaScript module |
| 19 | return `export default ${JSON.stringify(configObject, null, 2)};`; |
| 20 | } |
| 21 | return null; |
| 22 | }, |
| 23 | }, |
| 24 | // Resolve NativeScript platform-specific files for workers |
| 25 | { |
nothing calls this directly
no test coverage detected