Is there a way to request webpack with deno

Viewed 1716

I am currently trying to request the webpack api within a deno application to make my code cleaner. The problem with that is that I don't know how or if you can request webpack via an URL. But I am aware of the fact that deno is a very new runtime and therefore understand that is has not much of support, yet.

1 Answers

Answer to the original question about Deno formatting/build tool.

There are built-in tools in deno which can be useful to you.

To format the code, use fmt:

deno fmt

More information.

To build the application into a single file, use bundle:

deno bundle [source] [target]

More information.

Related