gulp-useref icon indicating copy to clipboard operation
gulp-useref copied to clipboard

Howto dynamic generate filepath in runtime?

Open Troland opened this issue 9 years ago • 1 comments

I have a idea such as for example:

<!DOCTYPE html>
<html>
<head>
    <title>My index</title>
    <!-- build:css css/combo{+new Date()}.css -->
    <link rel="stylesheet" href="css/reset.css">
    <link rel="stylesheet" href="css/common.css">
    <!-- endbuild -->
</head>
<body>
    <h1>Documents</h1>
</body>
</html>

if i have multiplage, and i just want to write the filepath in such format css/combo{+new Date()}.css`, any clues?

Troland avatar Dec 07 '16 08:12 Troland

+1 would be great to be able to generate dynamic output paths

ericzon avatar Dec 23 '16 14:12 ericzon