Skip to content

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

@trusktr

Description

@trusktr

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

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions