()
| 49 | // sidesteps all three since DevTools handles it without any network |
| 50 | // request. Production builds keep their configured devtool unchanged. |
| 51 | function useSourceMapFiles() { |
| 52 | if (mode === 'development') { |
| 53 | env.sourceMap = 'inline-source-map'; |
| 54 | } |
| 55 | } |
| 56 | // determine target output by @nativescript/* runtime version |
| 57 | // v9+ supports ESM output, anything below uses CommonJS |
| 58 | if ( |