denoland / denoland/dnt

produce an npm package that works in the browser

Open
#261 6 comments 1 reaction 0 assignees View on GitHub
question
Dominant language
Rust
Stars
1.3k
Forks
49
PR merge metrics
No merged PRs in 30d

Description

Is it a goal for dnt to enable producing an npm package that works in the browser, e.g. something that works ootb with create-react-app?

If so, I have had some trouble with this - I'm depending on deno std, and that includes a bunch of stuff that webpack 5 doesn't polyfill (I think it used to in previous version but not anymore).

This means users using create-react-app will not be able to use my package ootb.

What's the best way to make dnt spit out an npm package that works as is in the browser?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.