• Dorian Johnson's avatar
    build: use static CSS and JS filenames in dev (#534) · 82d843e9
    Dorian Johnson authored
    In production, it's helpful to use content addressing to guarantee cache busting
    when publishing changes.
    
    However, in development, because the server serves a static copy of the
    index.html, that means that changing the Javascript bundle or CSS requires an
    otherwise-unnecessary restart of the server.
    
    This change makes the CSS and JS assets use fixed filenames so that a server
    restart isn't needed.
    
    Downside of this approach is there's now a dev/prod disparity and the config is
    more spread out between files. The positive is we don't need to modify the
    semantics of the server at all.
    82d843e9
Name
Last commit
Last update
.github Loading commit data...
amundsen_application Loading commit data...
docs Loading commit data...
tests Loading commit data...
.dockerignore Loading commit data...
.editorconfig Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
LICENSE Loading commit data...
MANIFEST.in Loading commit data...
Makefile Loading commit data...
NOTICE Loading commit data...
README.md Loading commit data...
local.Dockerfile Loading commit data...
public.Dockerfile Loading commit data...
requirements.txt Loading commit data...
setup.cfg Loading commit data...
setup.py Loading commit data...