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
Yes it could work but you'd need to share the variable value somehow, eg define it in a JSON file and include that before running the grunt script and EJS.
I already do that,
The problem is to tell "node-version-assets" to version files named mycoolwebsite.min.js and mycoolwebsite.min.css and to change it's name in my ejs where it is writed as "<%=shortname%>.min.js" and "<%=shortname%>.min.css".
how can I specify two different name, one for the real file and one for the file as writed in the ejs?
hi,
I would like to be able to tell the name of the file to replace version number in my html who do not match the name on the filesystem.
the reason is that I create the file name from a variable.
so in my html the tag (using EJS) is like
and I use the same variable to create the path name I send to node-version-assets (via grunt)
like
"public/release/" + shortName + ".min.js"
the file real name is defined by the variable.
Is there a ways to achieve this?
thank you
The text was updated successfully, but these errors were encountered: