Closed cthos closed 2 years ago
Based on a comment in Slack, I'm not trying to prerender the dist
bundle, but the www
bundle to produce something of a "brochure site" of the component lib and have it be prerendered.
Hey @cthos! Good to see ya! Can you do me a favor and let me know if this issue still exists on newer versions of Stencil? This should have been addressed, but if not let me know.
Thanks for the issue! This issue is being closed due to inactivity. If this is still an issue with the latest version of Stencil, please create a new issue and ensure the template is fully filled out.
Thank you for using Stencil!
Stencil version:
I'm submitting a:
Current behavior:
When running a
--prerender
build on an app based on thestencil-component-starter
CSS variables for components do not get replaced with concrete values when running in IE.If you run
npm start --es5
, these variables do get replaced properly.Expected behavior:
--prerender
builds should replace CSS variables with concrete values like thees5
build does.Steps to reproduce:
Reproduction Repo: https://github.com/cthos/var-ie-repro
Related code:
None aside from the repo.
Other information:
Oddly enough I can't get this to recur on something made from the app starter, with CSS variables in the related .css files, even with all the same permutations. I think there's something happening with either a polyfill or deep in the compiler which I don't fully understand.
Importing the components into a Stencil App Starter likewise mostly works.
Here are some issues that I think are related, but maybe not 100% related enough to consider this a duplicate of them?
1200
1772
1804 (?)