You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
When using Fable, you might want to include content items along with your source code such as TypeScript declarations such that when you run dotnet fable, the specified output directory contains the compiled code (JavaScript) and the content (TypeScript declarations).
Using a script to include the content as a secondary step.
This is a totally reasonable workaround and I would understand if this is how you justify a 'nope'.
However, Fable emits each referenced project into their own folder and it would be delightful for content to be placed into their respective folders without needing to specify it.
I think that's a fine idea! The set of known/supported ProjectItem is definitely not exhaustive, and is meant to be expanded on as users need them, so I'd definitely be in favor of adding them. Would you be willing to contribute this change? In the interests if maximum forwards-compat I might even suggest expanding the definition of ProjectItem to be something like:
Is your feature request related to a problem? Please describe.
When using Fable, you might want to include content items along with your source code such as TypeScript declarations such that when you run
dotnet fable
, the specified output directory contains the compiled code (JavaScript) and the content (TypeScript declarations).Describe the solution you'd like
Support
Content
as a type ofProjectItem
.Describe alternatives you've considered
This is a totally reasonable workaround and I would understand if this is how you justify a 'nope'.
However, Fable emits each referenced project into their own folder and it would be delightful for content to be placed into their respective folders without needing to specify it.
Additional context
The text was updated successfully, but these errors were encountered: