Skip to content

Commit a5a7439

Browse files
author
julianjohannesen
committed
edit to index.html'
1 parent 5660fb6 commit a5a7439

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

index.html

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,7 @@
1111

1212
<body>
1313

14-
<p>We've initialized our project and installed webpack and webpack-cli. </p>
15-
16-
<p>We have an html.index file and a 'src' directory in which we've placed our index.js file. index.js contains very little, other than an import of a second JS file, also in the src directory, called hello.js. </p>
17-
18-
<p>Now run 'npx webpack.' This command will create a new 'dist' folder containing a file called 'main.js' that in turn contains all of our processed and bundled JavaScript. 'main.js' is the default name that webpack gives our bundled JS.</p>
19-
20-
<p>In order to see our script in action, we'll need to return to index.html and insert a script tag to import main.js from 'dist/main.js'. </p>
21-
22-
<p>That's it! We can serve index.html or just open the file in a browser.</p>
14+
<h1>Hello, world!</h1>
2315

2416
<script src="dist/main.js"></script>
2517
</body>

0 commit comments

Comments
 (0)