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
It may be useful for Typescript developers to have the ability to generate the Javascript + Typescript definition files in a specific folder in order to avoid them in src folder (which is the current output folder).
For instance, the following command generates the files at the same place as the ohm grammar source files. ohm generateBundles --withTypes src/ohm/*.ohm
It could be great to have an additional argument to specify the output folder: ohm generateBundles --withTypes src/ohm/*.ohm --output dist/ohm
What do you think ?
Thank you.
Stephane
The text was updated successfully, but these errors were encountered:
Agreed! My instinct would be to make this behave the same way as TypeScript's outDir arg, and preserve the directory structure of the original files. Does this seem like the right choice?
Hello,
It may be useful for Typescript developers to have the ability to generate the Javascript + Typescript definition files in a specific folder in order to avoid them in
src
folder (which is the current output folder).For instance, the following command generates the files at the same place as the ohm grammar source files.
ohm generateBundles --withTypes src/ohm/*.ohm
It could be great to have an additional argument to specify the output folder:
ohm generateBundles --withTypes src/ohm/*.ohm --output dist/ohm
What do you think ?
Thank you.
Stephane
The text was updated successfully, but these errors were encountered: