C
C
chegcheg2021-06-25 16:45:06
Sublime Text
chegcheg, 2021-06-25 16:45:06

How to write a macro/snippet to make changes to a third party file on save?

When saving files of certain formats (css, js, svg), it is necessary to add a save time stamp to the third-party file (ideally, the file version).
This label will be used in html when including files, for example, 'css/style.css?t=1624628576' or 'css/style.css?v=2'.

Are there ready-made solutions for implementing such an action?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question