0
Node.js project
I have seen a lot of javascript projects like jquery that uses a lot of files, folders, functions and make the project work with import and export, but at the end when we are going to use it's just one big file, how can i make a project with many files to be just one file?
1 Réponse
+ 3
you need a bundler like webpack and others that take an input file and depending on the import statements into your file they add all the code from other files to a single file which is the output file ,basics of webpack is easy to understand and implement ,I can't route you to a specific article but there are many online ,just go through one of them and if you don't understand anything you can always ask here ,