Skip to content

automatic gz files like css and js / or pre-create-hook #3

@onkelfunny

Description

@onkelfunny

to save some space in the spiffs it would be nice if the plugin gz files like css
OR
define a pre-create-hook (bash script) to do thinks like that... it would be great if the script can change the data directory.

in my case i have 5 steps:

  1. copy all files from data to /tmp/data....
  2. stitch all css and js files in one css and js file
  3. gz the generated files
  4. remove all unused and stitched css and js files
  5. build the spiffs from /tmp/data..... and upload

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions