Skip to content

Commit d8577d8

Browse files
FoxMaSkowais
authored andcommitted
Update README.md (django-webpack#98)
updating 'broken" render of the file
1 parent 2c0b932 commit d8577d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,8 +307,8 @@ the function in the `webpack_loader.utils` module.
307307
>>> utils.get_as_tags('main')
308308
['<script type="text/javascript" src="/static/bundles/main.js" ></script>',
309309
'<link type="text/css" href="/static/bundles/styles.css" rel="stylesheet" />']
310-
311-
310+
```
311+
312312
## How to use in Production
313313
314314
**It is up to you**. There are a few ways to handle this. I like to have slightly separate configs for production and local. I tell git to ignore my local stats + bundle file but track the ones for production. Before pushing out newer version to production, I generate a new bundle using production config and commit the new stats file and bundle. I store the stats file and bundles in a directory that is added to the `STATICFILES_DIR`. This gives me integration with collectstatic for free. The generated bundles are automatically collected to the target directory and synched to S3.

0 commit comments

Comments
 (0)