From fb57443b76f3c5f0f2bb6c66ff4d236b4ac26db1 Mon Sep 17 00:00:00 2001 From: Drew Larson Date: Thu, 23 Jun 2016 17:37:36 -0600 Subject: [PATCH] Fix path. --- bikeshop_project/bikeshop/settings/production.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/bikeshop_project/bikeshop/settings/production.py b/bikeshop_project/bikeshop/settings/production.py index 5f9e3ec..8e8d54e 100644 --- a/bikeshop_project/bikeshop/settings/production.py +++ b/bikeshop_project/bikeshop/settings/production.py @@ -46,4 +46,14 @@ LOGGING = { 'level': os.getenv('DJANGO_LOG_LEVEL', 'INFO'), } }, +} + +WEBPACK_LOADER = { + 'DEFAULT': { + 'CACHE': False, + 'BUNDLE_DIR_NAME': 'dist/', + 'STATS_FILE': os.path.join(BASE_DIR, '../webpack-stats-prod.json'), + 'POLL_INTERVAL': 0.1, + 'IGNORE': ['.+\.hot-update.js', '.+\.map'] + } } \ No newline at end of file