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

[feat] deno bundle --only-pattern #16150

Closed
loynoir opened this issue Oct 4, 2022 · 1 comment
Closed

[feat] deno bundle --only-pattern #16150

loynoir opened this issue Oct 4, 2022 · 1 comment
Labels
declined thank you, but respectfully declined

Comments

@loynoir
Copy link

loynoir commented Oct 4, 2022

For example, deno bundle --only-pattern '^file:\/\/.*foobar' will not bundle

  • import.meta.url like 'https://xxx'
  • import.meta.url on local filesystem without foobar

Also below maybe handy.

$ cd /path/to/foo/

# this only bundle file path start with /path/to/foo/
# things like `https://esm.sh/xxx' are excluded
$ deno bundle --dev
@kitsonk kitsonk added the declined thank you, but respectfully declined label Oct 4, 2022
@kitsonk
Copy link
Contributor

kitsonk commented Oct 4, 2022

deno bundle is not designed to be a general purpose bundler. In it current form it is likely not to exist into the future (see: #15463). We are not really considering new features for it at this point. If you want a general purpose bundler, use esbuild which supports Deno natively.

@kitsonk kitsonk closed this as not planned Won't fix, can't repro, duplicate, stale Oct 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
declined thank you, but respectfully declined
Projects
None yet
Development

No branches or pull requests

2 participants