How to make webpack and default modules in the node?

0 like 0 dislike
5 views
Under default nodoame mean those that are provided to us immediately after you install nodejs, for example fs, http, net well, etc.
There are files which will be concatenated into one using webpack and if these files I want to do something
let net = require('net');
then I get here is
ERROR in *any file* Module not found: Error: Can't resolve 'net' in '*any way*' @ *a file* 27:10-24
by | 5 views

1 Answer

0 like 0 dislike
Tell webpage that you collect an application under electron.
\rhttps://webpack.js.org/configuration/target/
by

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
2 answers
110,608 questions
257,186 answers
0 comments
33,924 users