Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't play well with Deno (node: prefix missing) #4365

Open
goldenratio opened this issue Jan 2, 2025 · 0 comments
Open

Doesn't play well with Deno (node: prefix missing) #4365

goldenratio opened this issue Jan 2, 2025 · 0 comments

Comments

@goldenratio
Copy link

goldenratio commented Jan 2, 2025

Is your feature request related to a problem? Please describe.

I am unable to run webpack with Deno

Screenshot From 2025-01-03 01-21-45

I am not sure, by simply adding node: prefix to require statements will fix this, (https://github.com/webpack/webpack-cli/blob/master/packages/webpack-cli/src/webpack-cli.ts#L61)

To reproduce,

deno run -A npm:create-pixi.js@latest

From bundler select webpack

Screenshot From 2025-01-03 01-01-30

Describe the solution you'd like

It will be nice If webpack can play well with Deno

Describe alternatives you've considered

Using vite

Additional context

N/A

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

No branches or pull requests

1 participant