Is it possible to programatically include resources in a slice?

Is it extended version? If it is, not sure what the problem is :slightly_frowning_face:

Edit:
You may further see,

  1. [SOLVED] Hugo v0.55.6 error calling ressources.Concat
  2. resources.Concat with js - slice interface not supported in concat