Build and handle jsfiles using webpack instead of django-pipeline.

Also renames bundle.js to translations.js.
This commit is contained in:
Mehanig
2017-05-23 15:03:53 -07:00
committed by Tim Abbott
parent 4f39d4fc22
commit 3f5d0e69fb
14 changed files with 45 additions and 24 deletions

View File

@@ -87,7 +87,6 @@ if prev_deploy:
# Always use the newly compiled handlebars templates and webpack bundle.
if prev_deploy:
changed_files.add(os.path.join(STATIC_PATH, 'templates/compiled.js'))
changed_files.add(os.path.join(STATIC_PATH, 'js/bundle.js'))
JS_SPECS = settings.JS_SPECS
CLOSURE_BINARY = '/usr/bin/closure-compiler'