Skip to content

Add option to skip versioning of js & css files #12

@djfarrelly

Description

@djfarrelly

Purpose

For us to be able to upload pre-hashed bundles and leverage code splitting w/ webpack or Next.js, we should allow the user to disable skip versioning of the js and css files.

Notes

  • We can't just detect an existing hash via <filename>.<hash>.js pattern b/c some assets like in Next.js are nested in a versioned directory instead (ex. static/<version>/pages/<filename>.js)
  • For this to work we may need to add a flag such as --skip-hash or --skip-versioning
  • I'm not sure if we'll have a mixed workflow where some files should be versions and some may not. If this is the case we may leave it to the end user to use this cli twice and stitch together the output

cc @msanroman

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions