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

Support for outputting the bundle to a file #28

Closed
RobertAKARobin opened this issue May 1, 2020 · 1 comment
Closed

Support for outputting the bundle to a file #28

RobertAKARobin opened this issue May 1, 2020 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@RobertAKARobin
Copy link

Deno will create an executable file with e.g. deno bundle src.ts > dist.ts. It looks like this package currently supports bundling, but not really outputting the bundle to a file.

@eliassjogreen eliassjogreen added the enhancement New feature or request label May 2, 2020
@notfilippo notfilippo added this to the 2.0.0 milestone May 18, 2020
@notfilippo notfilippo modified the milestones: 2.1.0, 2.2.0 Jun 5, 2020
@ManuelRauber
Copy link

ManuelRauber commented Jun 14, 2020

Just use something like this:

"bundle": {
  "cmd": "deno bundle src/index.ts my-bundle.js",
  "desc": "Bundles the server for deployment.",
  "tsconfig": "tsconfig.json",
  "watch": false
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants