Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: remove comments from transpiled JS files #427

Merged
merged 3 commits into from
Sep 24, 2021

Conversation

trivikr
Copy link
Contributor

@trivikr trivikr commented Sep 23, 2021

Issue #, if available:
Refs: aws/aws-sdk-js-v3#2797
Experimental PR in trivikr/temp-client-s3#9

Description of changes:
Removes comments from transpiled JS files as follows:

  • Sets removeComments: true for CJS and ES TSConfigs, and removes config to emit declaration files.
  • Creates new tsconfig.types.json for emitting declaration files.
  • Adds build:types script for generating types, and calls it from build.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@trivikr trivikr merged commit 292c3ae into smithy-lang:main Sep 24, 2021
@trivikr trivikr deleted the clients-tsconfig-types branch September 24, 2021 03:06
srchase pushed a commit to srchase/smithy-typescript that referenced this pull request Mar 17, 2023
* chore: create tsconfig.types.json as copy of tsconfig.es.json

* chore: add tsconfig.types.json in static file copies

* chore: generate types in tsconfig.types.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants