Skip to content
This repository was archived by the owner on Apr 3, 2022. It is now read-only.

Concatenate & minify client assets #96

@ungoldman

Description

@ungoldman

Currently we're sending 19 scripts and 8 stylesheets when serving the client assets. This is bad. Ideally should be 1 & 1. I'd also like to get rid of jquery & bootstrap.js and switch to using angular-bootstrap directives, but that's another issue.

I wasn't able to find anything like sprockets in the go package ecosystem that does this well yet, so unless server folks can provide a smart way to wrap this up I'll probably end up writing a script to do this that can be run as npm run build or something along those lines. Might end up moving the contents of static/app to a client directory that builds to static to keep things clean.

I'd rather not keep the built assets in version control as it will just be a bunch of minified noise, so if there any suggestions as to how to do that efficiently with the build process we have in place now please let me know (@aranasaurus @jyaganeh @CourtF).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions