-
Notifications
You must be signed in to change notification settings - Fork 680
Defining useful additionalTasks is extremely confusing #478
Comments
@toolness I set this GIST up with a useful(ish) additional task that copies a https://gist.github.com/dillonbailey/c06b1ee88ab1432435515c65840daf74 |
@dillonbailey Thanks for that. I am having same problem as @toolness. The task is running but nothing is being outputted. I would like to use https://yarnpkg.com/en/package/gulp-sitemap
|
@cbje-tokyo are you requiring |
@dillonbailey Thank you, I have tried to update it:
|
@cbje-tokyo couple of options I can think of.
Cheers |
The original issue appears to be an instance of #579. Closing in favor of that. @cbje-tokyo feel free to open a new issue if you're having a different problem @dillonbailey 🏆 thanks for the support |
The
additionalTasks
documentation doesn't actually define any useful real-world tasks, such as simply copying files from one directory to another. I tried adding a task that does this to myinitialize
function, and then running it as part of myprebuild
step:The
copy-package-json
task executes when I runblendid
but it doesn't seem to copy thepackage.json
file in the root directory of my project into thepublic
directory. I thought perhaps this might be because mypublic
directory is being wiped after theprebuild
tasks execute, so I moved the task topostbuild
, but then the task doesn't seem to get run at all (in fact,blendid
only runs thedefault
andclean
tasks when I do this, whereas it runs a bunch of tasks when I putcopy-package-json
inprebuild
).I recommend modifying the documentation so that at least one useful task is defined, so that readers have a better mental model for how to leverage
additionalTasks
for their needs.The text was updated successfully, but these errors were encountered: