Browse Source

Update webpack production settings.

feature/python-error-tracking
Drew Larson 8 years ago
parent
commit
2848f31276
  1. 14
      bikeshop_project/bikeshop/settings/production.py

14
bikeshop_project/bikeshop/settings/production.py

@ -37,12 +37,8 @@ LOGGING = {
}, },
} }
WEBPACK_LOADER = {
'DEFAULT': { WEBPACK_LOADER.update({
'CACHE': False, 'BUNDLE_DIR_NAME': 'assets/dist/',
'BUNDLE_DIR_NAME': 'dist/', 'STATS_FILE': os.path.join(BASE_DIR, '../../webpack-stats-prod.json')
'STATS_FILE': os.path.join(BASE_DIR, '../webpack-stats-prod.json'), })
'POLL_INTERVAL': 0.1,
'IGNORE': ['.+\.hot-update.js', '.+\.map']
}
}

Loading…
Cancel
Save