diff --git a/src/core/feature-detection.js b/src/core/feature-detection.js index 76bb4b079..01ff0394a 100644 --- a/src/core/feature-detection.js +++ b/src/core/feature-detection.js @@ -10,6 +10,8 @@ html.classList.add("js"); } + // NOTE: Modernizr will be removed in an upcoming minor release. + // Do not load modernizr if disabled. It's enabled by default. // You might want to disable it for your project by setting: // window.__patternslib_disable_modernizr = true; diff --git a/src/index.js b/src/index.js index e5a869930..b81cd4e81 100644 --- a/src/index.js +++ b/src/index.js @@ -1,4 +1,5 @@ // Load modernizr and the `html.js` feature class. +// NOTE: Modernizr will be removed in an upcoming minor release. import "./core/feature-detection"; // Webpack entry point for module federation.