Skip to content

[Feature request] Example for stenciljs #400

Closed

Description

@maxkarkowski

Is there a possibility to have an example for a stencilJS project?

Activity

  1. bahmutov commented on Feb 26, 2021

    @bahmutov
    Contributor

    Can you set up a simple StencilJS project repo that I could fork?

  2. maxkarkowski commented on Mar 3, 2021

    @maxkarkowski
    Author

    sure: i have a very simple stencil + cypress project set up here https://github.com/maxkarkowski/stencil-example

  3. tfrijsewijk commented on Apr 18, 2021

    @tfrijsewijk
    // stencil.config.ts
    const istanbul = require('rollup-plugin-istanbul');
    
    export const config: Config = {
      plugins: [
        istanbul({
          exclude: ['**.spec.ts']
        })
      ]
    };
    

    Instrumenting worked, my compiled assets contained all sorts of gibberish. I also confirmed window.__coverage__ etc, I installed the @cypress/code-coverage plugin but the test runner errored out, I guess because of lazy loading components.. When the test runner tried to generate a report it was unable to open

    cy.task('coverageReport') failed with the following error no such file or directory, open NOENT @lazy-browser-entrypoint?app-data=conditional
    
  4. jennifer-shehane commented on Nov 2, 2026

    @jennifer-shehane
    Member

    Closing via #1008. We won't add a Stencil example app.

    The ENOENT reported above comes from a Rollup virtual module (@lazy-browser-entrypoint?app-data=conditional) that has no file on disk. Current nyc versions don't crash on it, but they still list it in the report and count it toward totals. Exclude it in your nyc config:

    {
      "nyc": {
        "exclude": ["**/@lazy-browser-entrypoint*"],
        "excludeAfterRemap": true
      }
    }
  5. github-actions commented on Nov 2, 2026

    @github-actions

    🎉 This issue has been resolved in version 4.1.3 🎉

    The release is available on:

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions