We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75a49c1 commit 56d2c92Copy full SHA for 56d2c92
README.md
@@ -93,8 +93,8 @@ Here's the sort of CSS you can expect to serve:
93
<!-- stylsheets that will be requested when import() on user navigation is called -->
94
<script>
95
window.__CSS_CHUNKS__ = {
96
- Foo: '/static/Foo.css',
97
- Bar: '/static/Bar.css'
+ Foo: '/static/Foo.css',
+ Bar: '/static/Bar.css'
98
}
99
</script>
100
</body>
index.js
@@ -30,7 +30,7 @@ function forEachChunkModule( chunk, cb ) {
30
31
// webpack >= 3.x.x
32
if ( typeof chunk.forEachModule === 'function' ) {
33
- cb.forEachModule( cb );
+ chunk.forEachModule( cb );
34
35
else {
36
// webpack < 3.x.x
0 commit comments