You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(build): optionally include version in released filename
Instead of releasing the files:
```
semantic.css
semantic.js
semantic.min.css
semantic.min.js
```
optionally release the files that include the version number and an optional revision string:
```
semantic-2.9.3-a.css
semantic-2.9.3-a.js
semantic-2.9.3-a.min.css
semantic-2.9.3-a.min.js
```
The advantage is to make clear which version is currently being used, and preventing the browser cache from running an obsolete version.
This pull-request is fully backward compatible as the default behaviour does not change at all.
The change is activated in semantic.json by adding the relevant fields:
```
{
// ...
"permission": false,
"autoInstall": false,
"rtl": false,
"includeVersionInFileName": true, <== Here
"revision": "a", <== Optionally this, too.
"version": "2.9.3" <== version that is added.
}
```
0 commit comments