jlengstorf / learn-rollup

This is an example project to accompany a tutorial on using Rollup.
https://code.lengstorf.com/learn-rollup-js/
ISC License
191 stars 61 forks source link

missing index.html #16

Closed astropanic closed 7 years ago

astropanic commented 7 years ago

I try to follow the tutorial How to Bundle JavaScript With Rollup

When I run ./node_modules/.bin/rollup -c

I'm missing the index.html file in the build directory.

Hence I can't follow the next suggested step:

We can see that the bundle was created properly by opening build/index.html in our browser:

I watched then the video then instead of the text instructions, and have seen, the files was just added to the build folder for demonstration purpose.

It would be a good idea to write that information as well in the text instructions.

That will save some time for people like me.

jlengstorf commented 7 years ago

Thanks for the heads up! I was making the assumption that everyone would clone the starter repo, so that's my bad.

I've made edits to the directory structure and added a note to help out anyone else who prefers written to video.

Let me know if the edits could be more clear. Thanks again!