-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple html entrys not shared css assets #1441
Comments
Please fill in the issue template. |
@DeMoorJasper updated. |
I have the same problem? Is there any progress on this issue? |
when I bundle multiple entry points, I get my SCSS converted to CSS and bundled with bootstrap.css as expected and jquery.js/bootstrap.js/custom.js bundled on the first html file in alphabetical order, and the rest only HTML & JavaScript, it is not adding the fyi: each page (index.html, about.html, etc) links to index.js like so... and the contents of index.js are...
So to reiterate, the first entry point (in alphabetical order, in my case it chooses about.html) gets links to both the bundled css & javascript, but the rest of the pages only get a link to the bundled javascript. Here are the resulting about.html and index.html after having executed |
Have anyone solved this problem ?, I have the same issue and I haven't been able to find a solution. Parcel will include the CSS file in the first file after the parcel command and won't do it for the subsequent files in the list so in:
Parcel will only add the .css file to home.html but not to index.html. Can't believe the parcel team hasn't been able to come with a solution for such an important issue. Any help will be really appreciated. |
Closing as duplicate of #2340 |
Facing the same issue css only shows on the first index.html file and not on the following html files. Is there a solution to this? |
Still not solved. |
Do you have a reproduction? |
My bad. I thought this issue was related to my problem. I shared my problem here in another issue. |
β Question
#1119 multiple entry support, shared javascript working, but external css not shared only index.html shared css
π¦ Context
π» Code Sample
https://github.com/c0b41/parcel-html-boilerplate
π Your Environment
The text was updated successfully, but these errors were encountered: