docs icon indicating copy to clipboard operation
docs copied to clipboard

Add IE11 support recipe

Open mattgallagher92 opened this issue 4 years ago • 2 comments

Babel is no longer part of the default template from dotnet new safe. This made npm and webpack maintenance easier, but means that the client is no longer compatible with Internet Explorer. Add a recipe that explains how to add IE11 support back.

Relates to https://github.com/SAFE-Stack/SAFE-template/pull/415#issuecomment-851579254.

mattgallagher92 avatar Nov 30 '21 13:11 mattgallagher92

Kevin Frey has provided some information to help:

mattgallagher92 avatar Nov 30 '21 14:11 mattgallagher92

While working with webpack 5 and the changes shown above i noticed that hot module replacement is broken. I checked the error message and found the following post referring to this comment.

So by expanding optimization with runtimeChunk: "single" it works again.

// more context
module.exports = {
    // ..
    optimization: {
        splitChunks: {
            chunks: 'all'
        },
        runtimeChunk: "single"
    },
    // ..
}

Freymaurer avatar Dec 03 '21 11:12 Freymaurer

Not sure when exactly this broke down. But these steps are not longer able to provide ie 11 compatibility with the newest SAFE stack version.

Freymaurer avatar Dec 05 '22 12:12 Freymaurer

@Freymaurer Is this still an issue you're seeing (i.e. requirement) given that it's not even supported by Microsoft any longer?

isaacabraham avatar Mar 03 '23 16:03 isaacabraham

I understand this is an edge case. I used this for an excel add-in. Excel 2019 still uses ie11 as in app browser.

Freymaurer avatar Mar 03 '23 16:03 Freymaurer

Closing this as end of life of Internet Explorer was 15 June 2022 - https://www.microsoft.com/en-US/download/details.aspx?id=41628

martinbryant avatar Aug 04 '23 14:08 martinbryant