stencil-site icon indicating copy to clipboard operation
stencil-site copied to clipboard

website docs for Copy Tasks for Output Targets are incorrect

Open evaneus opened this issue 3 years ago • 1 comments

Stencil version:

 @stencil/[email protected]

I'm submitting a:

[ x ] bug report

Current behavior:

The docs for copy tasks says: Each output target can have its own copy config, which is an array of objects that defines any files or folders that should be copied over to the output target's build directory.

But docs target does not support copy.

Expected behavior:

Docs to not say that each output target can have a copy config. Or docs to support copy task.

Steps to reproduce:

Type error if you add copy to output target with type docs in stencil.config.ts

evaneus avatar Aug 28 '20 18:08 evaneus

Good catch! I apologize for the time it took for someone on the team to get back to you on this.

Although docs is no longer a valid output target in newer versions of Stencil, we can certainly clarify that the docs-* output targets do not have this task today.

rwaskiewicz avatar Mar 16 '22 12:03 rwaskiewicz