Skip to content

fix: suppress webpack warnings in angular examples #54

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 24, 2025

Conversation

MikeMcC399
Copy link
Contributor

Issue

Running Cypress component tests in the following Angular projects, results in multiple warnings:

The warnings are similar to

WARNING in /home/runner/work/cypress-component-testing-apps/cypress-component-testing-apps/angular/cypress/e2e/login.cy.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

See Action logs.

Assessment

Change

Add:

webpackConfig: { stats: "errors-only" }

to cypress.config.ts files in projects:

@MikeMcC399 MikeMcC399 force-pushed the suppress/webpack-warnings branch from 8423d93 to 8832c97 Compare April 19, 2025 08:41
@MikeMcC399

This comment was marked as resolved.

@AtofStryker AtofStryker merged commit 458a3ac into cypress-io:main Apr 24, 2025
10 checks passed
@MikeMcC399 MikeMcC399 deleted the suppress/webpack-warnings branch April 24, 2025 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants