ionic-team / stencil-component-starter

Minimal starter project for building shareable web components with Stencil
https://github.com/ionic-team/stencil
MIT License
278 stars 128 forks source link

chore(scripts): remove --docs from build script #128

Closed rwaskiewicz closed 8 months ago

rwaskiewicz commented 8 months ago

remove the --docs flag from the npm build script. we're removing this as it's tripped a few people up as to how docs are getting generated when they remove docs-readme from the stencil-config.ts file, and still see documentation generated as a result of this flag.

docs-readme already exists in the output targets of stencil-config.ts, which results in no output changes for the boilerplate project.

Testing

I spun up two component starter projects, one with the flag, and one without. I then ran a diff of the two directories after npm run build and found no documentation differences. Technically, they didn't need to be separate projects, it just made the diff easier.