Skip to content

Commit ee0b88c

Browse files
author
Steven Li
committed
comments in lesson 1
1 parent b04ccee commit ee0b88c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lessons/01-setting-up/webpack.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1+
/* webpack takes modules with dependencies and generates static assets representing those modules. */
2+
/* you know, like, duh. */
3+
14
module.exports = {
5+
/* which file to start with when compiling */
26
entry: './index.js',
37

48
output: {
9+
/* webpack compiles javascript into a single bundle.js file */
510
filename: 'bundle.js',
611
publicPath: ''
712
},

0 commit comments

Comments
 (0)