Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Stencil: docs-json file nested using fully qualified path within the dist folder #5

Open
dancork opened this issue Jun 30, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@dancork
Copy link
Contributor

dancork commented Jun 30, 2023

Describe the bug
The docs-json output target file is being nested deeply in the outputPath.

To Reproduce
Steps to reproduce the behavior:

Create nx project with stencil lib using the following:

  • nx v15.9.4
  • @nxext/stencil v16.3.0
  • @stencil/core v3.4.0

Add docs-json output taget to stencil.config.ts

{
  type: 'docs-json',
  file: 'dist/docs.json',
  typesFile: null,
}

Use @nxext/stencil:build executor

Should see deeply nested docs.json
CleanShot 2023-06-30 at 18 14 40@2x

Expected behavior
File should created relative to the outputPath property in project.json

@dancork dancork added the bug Something isn't working label Jun 30, 2023
@DominikPieper DominikPieper transferred this issue from nxext/nx-extensions Oct 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant