From 2848f31276997e7c92a0dea991ed11761606b344 Mon Sep 17 00:00:00 2001 From: Drew Larson Date: Sun, 15 Jan 2017 16:46:53 -0600 Subject: [PATCH] Update webpack production settings. --- bikeshop_project/bikeshop/settings/production.py | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/bikeshop_project/bikeshop/settings/production.py b/bikeshop_project/bikeshop/settings/production.py index f4004be..13b1bb6 100644 --- a/bikeshop_project/bikeshop/settings/production.py +++ b/bikeshop_project/bikeshop/settings/production.py @@ -37,12 +37,8 @@ LOGGING = { }, } -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'] - } -} + +WEBPACK_LOADER.update({ + 'BUNDLE_DIR_NAME': 'assets/dist/', + 'STATS_FILE': os.path.join(BASE_DIR, '../../webpack-stats-prod.json') +})