Import assertions
Discouraged
This feature is discouraged. Consider using CSS import attributes , JSON import attributes instead. For the rationale, see:
Module import … assert { type: "json" }
and import … assert { type: "css" }
JavaScript statements load JSON and CSS data.
Learn more
Specifications
Browser support
- Chrome ❌
- Chrome Android ❌
- Edge ❌
- Firefox ❌ See bugzil.la/1720570
- Firefox for Android ❌ See bugzil.la/1720570
- Safari ❌ See webkit.org/b/227967
- Safari on iOS ❌ See webkit.org/b/227967
View as JSON | Edit this feature | Report an issue | Web-features entry: source, dist