I tried to use cy-rollup to test an application. However it fails with this error:
Error: UMD and IIFE output formats are not supported for code-splitting builds.
Currently code-splitting can't be disable in rollup: rollup/rollup#2756
So, could cy-rollup use an alternative output format?
|
const outputOptions = { |
|
format: 'iife', |
|
sourcemap: 'inline', |
|
file: file.outputPath, |
|
name: path.basename(file.filePath) |
|
} |