paint-brush
How To Pack Javascript Code with Webpackby@gerald-goh
2,821 reads
2,821 reads

How To Pack Javascript Code with Webpack

by Gerald Goh3mMarch 10th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Webpack is a module bundler for JavaScript as well as HTML applications. It grabs modular pieces of code compartmentalized in folders and then reconstituting them into a compiled form. The split starts from the end to the beginning and not in the middle to avoid losing track. After splitting the file, the next bit is to export and import them as modules as modules. This article assumes that readers have prior knowledge of Webpack setup and serves as a guide to splitting JS files.

Company Mentioned

Mention Thumbnail

Coin Mentioned

Mention Thumbnail
featured image - How To Pack Javascript Code with Webpack
Gerald Goh HackerNoon profile picture
Gerald Goh

Gerald Goh

@gerald-goh

A Developer who finds joy in combining the appeal of design with the complexity of engineering.

About @gerald-goh
LEARN MORE ABOUT @GERALD-GOH'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Gerald Goh HackerNoon profile picture
Gerald Goh@gerald-goh
A Developer who finds joy in combining the appeal of design with the complexity of engineering.

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite