Is it possible to declare an artifact as being bui...
# community-support
r
Is it possible to declare an artifact as being built by a custom task, but it's files are not its outputs? Real example: I have a task that runs
npm install
and I need to declare
node_modules/x/**/*.css
as artifact. To avoid massive performance issues with
npm install
declaring
node_modules
as outputs, I implemented something smarter. The only way I can make it work is by creating a task that depends on
npmInstall
task and copies
node_modules/x/**/*.css
to an intermediate dir. Is it possible to avoid this copy?