-
Notifications
You must be signed in to change notification settings - Fork 10
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
greenwood website home page loading has syntax error with internet explorer 11 (also causing no logo fade?) #198
Comments
Wondering if es5 adapter would be needed for this to get the syntax error fixed? From there, not sure if we would also need some sort of PostCSS plugin for the fade too, to support CSS Found a SO post that seems to have a working solution for the CSS, once the syntax error is fixed. |
Trying a few things to fix the loading error, no luck so far
Created a branch to try some of these things out with this and other various attempts Seems like from the second screenshot, that some ES6 features aren't getting transpiled. Maybe open it up to all node_modules just to confirm? |
oh, right. this should probably use |
So digging deeper into this, it looks like .babelrc isn't even getting loaded, likely because babel-loader is looking for the file in the root. 🤦♂ Once I added it as an option module: {
rules: [{
test: /\.js$/,
loader: 'babel-loader',
options: {
configFile: path.join(__dirname, 'babel.config.js'),
include: [/node_modules/]
}
}, { things started Will also probably want to look into checking .browserslistrc is also configured correctly as well. |
OK, got babel configuration working, but still seeing an issue in IE11 with Made an issue for tracking babel configuration specifically, removing Probably because browserslist isn't working :/ . (will likely need to make a new issue) |
Will need to enable process of node_modules, but this might mean it makes sense to do #224 instead... |
Considering the audience for this site is primarily developers and others within the technology realm it seems incredibly unlikely that anyone visiting the site with IE 11 would be doing so intentionally. I vote to not worry about supporting IE and to close Thai and any related issues. |
Hmm, I certainly see your point regarding maintaining the website, but I wonder if the real world use cases out there support it though from a Greenwood CLI perspective? I feel like especially in corporate / enterprise and some (local) government, IE11 is still a meaningful consideration in regards to their user's browser demographics and so I feel like it's still worth tracking #224 at least. (I guess i was mostly keeping this open to keep us honest about the limitations of Greenwood? That said, maybe we can track along with the USWDS and their of support of IE11 as a leading indicator, which I think they plan on dropping soon?) Basically, I would like to piggy back of our polyfills plugin and add support for (opt-in) differential loading so that (maybe in combination with our Babel plugin) a user could still build with modern standards and WCs, but still have the option to operate in an ES5 environment. WebComponents polyfills provide an ES5 adapter which I think we would want to leverage in this case. TL;DR I agree for the website we can drop IE11 (close this issue), but I think providing a differential loading mechanism is still useful, so still keep #224 open, though at a lower priority unless someone asks for it perhaps? When we do add it, that's when we can use the website as an opportunity for dog fooding. Thoughts? |
That is a solid plan. |
Type of Change
Summary
Loading the Greenwood website in IE11 and the home page loads, but the fading text doesn't show and the button color is green not blue (like in #196 ).
Otherwise the site is working pretty good! (also, this looks the same in production before the Polyfills changes)
Details
Maybe something to do with CSS
@keyframe
/animation
? Not sure if that's a different issue from the syntax error?The text was updated successfully, but these errors were encountered: