(source: string)
| 120 | |
| 121 | it('allows user to override rewriteSources', () => { |
| 122 | const customRewrite = (source: string) => source.replace(/^src\//, 'custom/'); |
| 123 | const options = getPluginOptions({ |
| 124 | sourcemaps: { |
| 125 | rewriteSources: customRewrite, |