-
Notifications
You must be signed in to change notification settings - Fork 4
Closed
Labels
Description
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