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': {
'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