How do I include child processes in a webpack package?

I have a Node application that uses a method fork

to start a background process. The problem is that running the webpack config from the index does not bind the background process files resulting in an error when a fork is reached.

All the code uses Babel syntax along with some other goodies.

How do I tell the webpack to also strip the forked files?

Thanks in advance.

+3


source to share





All Articles