-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(config): allow out file to be configurable (#36)
allow end users to decide where the generated json file is output. to do so, we introduce a new optional config object to the project, which is accepted at compile time (via a stencil config file). the config file has a single optional property, which allows users to specify the location the generated file should end up. the output location is slightly opinionated: - if not set, default the name to `web-types.json` - if there is no json extension, add `web-types.json` to the provided path - paths should be reconcilable against the stencil root dir
- Loading branch information
1 parent
0ad9a0f
commit b555dc2
Showing
3 changed files
with
116 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters