Skip to content

Error: UMD and IIFE output formats are not supported for code-splitting builds. #94

@javier-garcia-meteologica

Description

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?

cy-rollup/src/index.js

Lines 38 to 43 in fd85ba5

const outputOptions = {
format: 'iife',
sourcemap: 'inline',
file: file.outputPath,
name: path.basename(file.filePath)
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions