Skip to content

Wrong version of npm module "debug" added to bundle due to "node process" #494

@bitflower

Description

@bitflower

Bug repo:
https://github.com/bitflower/stencil-debug-problem

Current behavior:
See repo: importing "debug" doesn't work. I guess to to the fact that the Stencil compiler runs "on the server" (=node/terminal) and the debug module returns the node.js insetad of the browser.js because of that.

Expected behavior:
We can use "debug".

Steps to reproduce:
See repo

Metadata

Metadata

Assignees

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