diff --git a/README.md b/README.md
index 6f35da1b..13d86284 100644
--- a/README.md
+++ b/README.md
@@ -86,7 +86,7 @@ module.exports = {
WEBPACK_LOADER = {
'DEFAULT': {
'CACHE': not DEBUG,
- 'BUNDLE_DIR_NAME': 'webpack_bundles/', # must end with slash
+ 'BUNDLES_URL': 'webpack_bundles/', # must end with slash
'STATS_FILE': os.path.join(BASE_DIR, 'webpack-stats.json'),
'POLL_INTERVAL': 0.1,
'TIMEOUT': None,
@@ -110,16 +110,16 @@ When `CACHE` is set to True, webpack-loader will read the stats file only once a
-#### BUNDLE_DIR_NAME
+#### BUNDLES_URL
```python
WEBPACK_LOADER = {
'DEFAULT': {
- 'BUNDLE_DIR_NAME': 'bundles/' # end with slash
+ 'BUNDLES_URL': 'bundles/' # end with slash
}
}
```
-`BUNDLE_DIR_NAME` refers to the dir in which webpack outputs the bundles. It should not be the full path. If `./assets` is one of your static dirs and webpack generates the bundles in `./assets/output/bundles/`, then `BUNDLE_DIR_NAME` should be `output/bundles/`.
+`BUNDLES_URL` refers to the dir in which webpack outputs the bundles and will be used as the url prefix for the static files. It should not be the full path. If `./assets` is one of your static dirs and webpack generates the bundles in `./assets/output/bundles/`, then `BUNDLES_URL` should be `output/bundles/`.
If the bundle generates a file called `main-cf4b5fab6e00a404e0c7.js` and your STATIC_URL is `/static/`, then the `