Skip to content

ts-loader in @cypress/webpack-batteries-included-preprocessor should respect all user compiler options #31282

Open
@AtofStryker

Description

@AtofStryker

Current behavior

Currently, @cypress/webpack-batteries-included-preprocessor only sets 4 options on the ts-loader compilerOptions. This is sourceMap, inlineSourceMap, inlineSources, and downlevelIteration.

Desired behavior

Ideally, ts-loader should be taking all user compilerOptions in the user config in addition to applying these overrides

Test code to reproduce

N/A

Cypress Version

14.2.0

Node version

v20.18.1

Operating System

N/A

Debug Logs

Other

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions