mirror of
				https://github.com/fspc/workstand.git
				synced 2025-10-31 00:15:35 -04:00 
			
		
		
		
	Merge pull request #20 from BridgeCityBicycleCoop/development
Webpack settings were wrong.
This commit is contained in:
		
						commit
						5dc534b8c1
					
				| @ -126,6 +126,7 @@ STATICFILES_DIRS = [ | ||||
|     ('vendor', os.path.join(BASE_DIR, '../vendor')), | ||||
|     os.path.join(BASE_DIR, '../assets') | ||||
| ] | ||||
| 
 | ||||
| STATIC_ROOT = 'static' | ||||
| STATIC_URL = '/static/' | ||||
| 
 | ||||
|  | ||||
| @ -37,8 +37,12 @@ LOGGING = { | ||||
|     }, | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
| WEBPACK_LOADER.update({ | ||||
|     'BUNDLE_DIR_NAME': 'assets/dist/', | ||||
|     'STATS_FILE': os.path.join(BASE_DIR, '../webpack-stats-prod.json') | ||||
| }) | ||||
| WEBPACK_LOADER = { | ||||
|     'DEFAULT': { | ||||
|         'CACHE': True, | ||||
|         'BUNDLE_DIR_NAME': 'assets/dist/', # must end with slash | ||||
|         'STATS_FILE': os.path.join(BASE_DIR, '../webpack-stats-prod.json'), | ||||
|         'POLL_INTERVAL': 0.1, | ||||
|         'IGNORE': ['.+\.hot-update.js', '.+\.map'] | ||||
|     } | ||||
| } | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user