Browse Source

Merge pull request #12 from BridgeCityBicycleCoop/development

Update webpack production settings
feature/python-error-tracking
Drew Larson 8 years ago
committed by GitHub
parent
commit
7a7d5d40a5
  1. 14
      bikeshop_project/bikeshop/settings/production.py

14
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')
})

Loading…
Cancel
Save