You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,10 +58,14 @@ import * as css from "./file.css";
58
58
59
59
When using `css-loader`(https://github.com/webpack/css-loader), webpack processes the file through configured [loaders] (https://webpack.js.org/concepts/loaders/) and turns it into a JavaScript module.
60
60
61
-
Depending on the configuration, the imported value can expose information from the CSS file, such as exported identifiers when CSS Modules are enabled.
61
+
The imported value is a JavaScript module generated by `css-loader`. When CSS Modules are enabled, this module can export identifiers from the CSS file (such as class name mappings).
62
62
63
63
If you only want to apply the styles and do not need to access any exports, you can simply write:
0 commit comments