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
Is there a way to use transform (to modify a path) while at the same time using injects detecting of file type and spitting out correct and/or <script>?
inject(
gulp.src([
`${config.jsDestfolder}/bundle.js`,
`${config.cssDestfolder}/all.css`,
]),
{ transform: filePath => (
//spits out correct path
//but no html <link> or <script> tag
`${process.env.HEROKU_PREFIX}${filePath}`
)}
)
The text was updated successfully, but these errors were encountered:
Is there a way to use transform (to modify a path) while at the same time using injects detecting of file type and spitting out correct and/or <script>?
The text was updated successfully, but these errors were encountered: