rollup.config.js (456B)
1 export default { 2 input: 'src/index.js', 3 output: { 4 file: 'bundle.js', 5 format: 'iife', 6 sourcemap: true, 7 sourcemapIgnoreList: (relativeSourcePath) => { 8 // Adding original-1.js and original-3.js to the ignore list should cause these files to 9 // be ignored by the devtools and their debugger statements should not be hit. 10 return ['original-1', 'original-3'].some(fileName => relativeSourcePath.includes(fileName)); 11 }, 12 }, 13 };