Browse Source

ajuste de webpack

pull/2501/head
Leandro Roberto 6 years ago
parent
commit
fba688f72c
  1. 2
      sapl/settings.py

2
sapl/settings.py

@ -272,7 +272,7 @@ FRONTEND_CUSTOM = config('FRONTEND_CUSTOM', default=False, cast=bool)
WEBPACK_LOADER = { WEBPACK_LOADER = {
'DEFAULT': { 'DEFAULT': {
'CACHE': not DEBUG, 'CACHE': not DEBUG,
'BUNDLE_DIR_NAME': 'sapl/static/', 'BUNDLE_DIR_NAME': 'sapl/static/sapl/',
'STATS_FILE': (BASE_DIR if not FRONTEND_CUSTOM else PROJECT_DIR.parent.child('sapl-frontend')).child('webpack-stats.json'), 'STATS_FILE': (BASE_DIR if not FRONTEND_CUSTOM else PROJECT_DIR.parent.child('sapl-frontend')).child('webpack-stats.json'),
'POLL_INTERVAL': 0.1, 'POLL_INTERVAL': 0.1,
'TIMEOUT': None, 'TIMEOUT': None,

Loading…
Cancel
Save