Created by: Johann-S
Hi :)
A small PR to allow Bootstrap to be SSR friendly.
I had this idea in mind for quite a long time and it'll avoid developers some headache on how to handle errors like document is undefined or windows is undefined if they use SSR frameworks (for example Gatsby or Next.js)
I added an ESLint plugin to enforce that in all of our source code: https://www.npmjs.com/package/eslint-plugin-ssr-friendly
If you think it's not a relevant do not hesitate to close my PR