diff options
Diffstat (limited to 'animism-align')
| -rw-r--r-- | animism-align/README.md | 6 | ||||
| -rw-r--r-- | animism-align/cli/commands/site/export.py | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/animism-align/README.md b/animism-align/README.md index 4c09c65..d768355 100644 --- a/animism-align/README.md +++ b/animism-align/README.md @@ -75,6 +75,12 @@ For production, export a static version of the episode. This will make an expor /static/ # non-site-media, fonts, etc ``` +Watch the production JS: + +``` +NODE_ENV=production node ./node_modules/webpack-cli/bin/cli.js --config ./webpack.config.site.js -o /Users/user/work/animism/animism-align/data_store/exports/animism/episode1/bundle.js --watch +``` + ## History - 2020.05 - Received designs from Other Means diff --git a/animism-align/cli/commands/site/export.py b/animism-align/cli/commands/site/export.py index f9560c6..987ee43 100644 --- a/animism-align/cli/commands/site/export.py +++ b/animism-align/cli/commands/site/export.py @@ -134,6 +134,8 @@ def rewrite_db_media(db, fp_out, url_out): # galleries - a bunch of lookups... we PROBABLY don't need image_lookup (fullsize) elif item['type'] == 'gallery': new_image_lookup = {} + if 'thumbnail' in settings: + settings['thumbnail'] = rewrite_upload(to_copy, settings['thumbnail'], fp_out, url_out) for id in settings['image_order']: id = str(id) if id in settings['image_lookup']: |
