We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b90d8dd commit 760eefaCopy full SHA for 760eefa
README.md
@@ -73,6 +73,23 @@ console.log(css); // {String}
73
74
If there are SourceMaps, they will also be included in the result string.
75
76
+If, for one reason or another, you need to extract CSS as a
77
+plain string resource (i.e. not wrapped in a JS module) you
78
+might want to check out the [extract-loader](https://github.com/peerigon/extract-loader).
79
+It's useful when you, for instance, need to post process the CSS as a string.
80
+
81
+**webpack.config.js**
82
+```js
83
+{
84
+ test: /\.css$/,
85
+ use: [
86
+ 'handlebars-loader', // handlebars loader expects raw resource string
87
+ 'extract-loader',
88
+ 'css-loader'
89
+ ]
90
+}
91
+```
92
93
<h2 align="center">Options</h2>
94
95
|Name|Type|Default|Description|
0 commit comments