Skip to content

Commit f0b9550

Browse files
sligowais
authored andcommitted
Updates README.md to clarify a gotcha (#206)
Updates the docs to clarify a gotcha with `BUNDLE_DIR_NAME`, as reported by #100.
1 parent 990d9ec commit f0b9550

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,8 @@ If the bundle generates a file called `main-cf4b5fab6e00a404e0c7.js` and your ST
126126
<script type="text/javascript" src="/static/output/bundles/main-cf4b5fab6e00a404e0c7.js"/>
127127
```
128128
129+
**NOTE:** If your webpack config outputs the bundles at the root of your `staticfiles` dir, then `BUNDLE_DIR_NAME` should be an empty string `''`, not `'/'`.
130+
129131
<br>
130132
131133
#### STATS_FILE

0 commit comments

Comments
 (0)