Parcel: is there a way to bundle everything into a single file when build target is node?

Created on 28 Aug 2018  ยท  1Comment  ยท  Source: parcel-bundler/parcel

โ” Question

parcel build index.js --target node

I tried to use the command above to build my mini project.

It is still using request in the output file.

is there a way to bundle everything into a single file when build target is node?

๐Ÿ”ฆ Context


where fs is not available

๐Ÿ’ป Code Sample

๐ŸŒ Your Environment

| Software | Version(s) |
| ---------------- | ---------- |
| Parcel |
| Node |
| npm/Yarn |
| Operating System |

Waiting Question

Most helpful comment

Will be part of the next release https://github.com/parcel-bundler/parcel/pull/1690

>All comments

Will be part of the next release https://github.com/parcel-bundler/parcel/pull/1690

Was this page helpful?
0 / 5 - 0 ratings

Related issues

devongovett picture devongovett  ยท  3Comments

mnn picture mnn  ยท  3Comments

dotdash picture dotdash  ยท  3Comments

dsky1990 picture dsky1990  ยท  3Comments

jzimmek picture jzimmek  ยท  3Comments