Skip to content

Commit e2b73bc

Browse files
authored
Merge pull request #1233 from Patternslib/modernizr-deprecation-notice
maint: Add deprecation notice for Modernizr.
2 parents 8c40b70 + cd84cc7 commit e2b73bc

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/core/feature-detection.js

+2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
html.classList.add("js");
1111
}
1212

13+
// NOTE: Modernizr will be removed in an upcoming minor release.
14+
1315
// Do not load modernizr if disabled. It's enabled by default.
1416
// You might want to disable it for your project by setting:
1517
// window.__patternslib_disable_modernizr = true;

src/index.js

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// Load modernizr and the `html.js` feature class.
2+
// NOTE: Modernizr will be removed in an upcoming minor release.
23
import "./core/feature-detection";
34

45
// Webpack entry point for module federation.

0 commit comments

Comments
 (0)