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

CSS is not insert into Head after building #51

Closed Sara2009 closed 5 years ago

Sara2009 commented 5 years ago

I clone the project and npm install the package. Then npm run build. The css is not bundled into the head of bulid/index.html but into the js/main.min.js using __$styleInject

jlengstorf commented 5 years ago

Hi, @Sara2009! This repo is pretty far out of date, so I'm not sure if it's still a good representation of how Rollup should be used. My recommendation would be to check the Rollup docs for updated tutorials to make sure you're getting the best information.

I'm going to close this issue, but please feel free to ask additional questions!