Open
Description
- Mojolicious::Plugin::AssetPack version: 2.13
- Perl version: N/A
- Operating system: N/A
Steps to reproduce the behavior
The assets are rebuilt every time process
runs (which is usually in startup).
However, calls to the processed
method to fetch asset information will implicitly call process
to rebuild assets.
There are common use cases where we want the build the assets in a development environment, commit them to a code repository and then use those assets on a server, without the server needing to try and re-build them:
- Tools like sass cannot be installed or upgraded on a production server (for various reasons...)
- Server has restricted network access and cannot fetch remote assets
- A remote asset is damaged or tampered with, and fetching the damaged update when restarting a server will replicate the damage
Expected behavior
There should be a separate method for using the assets as-built without refreshing them. Or perhaps an option to pass to the process
method that tells it not to rebuild.
Actual behavior
When the service uses restarts, it attempts to rebuild assets, but it requires sass.
We have to work around this by building css from sass separely.
Metadata
Metadata
Assignees
Labels
No labels