web icon indicating copy to clipboard operation
web copied to clipboard

Guides, tools and libraries for modern web development.

Results 360 web issues
Sort by recently updated
recently updated
newest added

Trying to mock es modules in a test by using a HTML-test with importmaps. ```html { "imports": { "../../../src/player/index.ts": "./player.mock.ts" } } ``` It fails to include the mock, and...

Hey, [this context](https://github.com/modernweb-dev/web/blob/3f671e732201f141d910b59c60666f31df9c6126/packages/test-runner-visual-regression/src/visualRegressionPlugin.ts#L56), passed down to the visual diff command (and eventually to the [helpers that generate the screenshot file names](https://github.com/modernweb-dev/web/blob/3f671e732201f141d910b59c60666f31df9c6126/packages/test-runner-visual-regression/src/visualDiffCommand.ts#L50) only hands down `session.browser.name`. This seems to be `"chromium"`...

When I have a test like this ``` import { Input } from '../index.bundled'; import ReactDom from 'react-dom'; import { fixture, assert } from '@open-wc/testing'; import { html } from...

I have tried to use the example in [example-projects](https://github.com/modernweb-dev/example-projects/tree/master/react-tsx) with React Router. I have cloned the example, installed `react-router-dom` and used it in `App.tsx`. When running the server and navigating...

This removes the duplicated `import.meta.url` in the output, like this: ```diff // Pre-bundling code new URL("./some-internal-path.png", import.meta.url) // Bundled code in ESM output -new URL(new URL("asset/bundled-asset.png", import.meta.url).href, import.meta.url) +new URL(new...

When trying to improve the performance of a site, you can add a link element with the rel attribute set to `preload`, `prefetch`. Unfortunately, this does not work when using...

With a fresh install of the `@web/dev-server-storybook` we have this warning: Because these two dependencies: > @web/[email protected] requires [email protected] via a transitive dependency on [email protected] Show trim details > @web/[email protected]...

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@rollup/plugin-commonjs](https://togithub.com/rollup/plugins/tree/master/packages/commonjs/#readme) ([source](https://togithub.com/rollup/plugins)) | [`^18.0.0` -> `^21.1.0`](https://renovatebot.com/diffs/npm/@rollup%2fplugin-commonjs/18.1.0/21.1.0) |...

Compatible way to resolve CommonJS loading for ESM (Modern 🙂) projects, solves: - [ ] #1832 - [ ] #1831

## What I did 1. I copied the esbuild plugin directory to a new directory `dev-server-swc`. 2. I then updated the implementation to use the SWC compiler instead of the...