web icon indicating copy to clipboard operation
web copied to clipboard

[@web/test-runner] How do we disable all source transforms?

Open trusktr opened this issue 3 months ago • 0 comments

Web Test Runner out of the box is modifying my import statements, which leads to this issue:

  • https://github.com/modernweb-dev/web/issues/2985 (see workaround)

For example, it converts this

import {createSignal} from 'solid-js'`

into this

import {createSignal} from './node_modules/solid-js/dist/dev.js'`

which defeats the purpose of the import map I have in place that loads Solid.js from CDN.

How do we disable all source transformation?

trusktr avatar Sep 27 '25 20:09 trusktr