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

Keep node_modules/ as they are required at runtime #12

Merged
merged 1 commit into from
Aug 18, 2022

Conversation

daddykotex
Copy link
Contributor

This solution is temporary until we have a better approach. The
initial goal of the trimming of the .vsix was to reduce size of the
package. The archive contains a lot of useless stuff (especially
dev dependencies).

Ideally, we would have one of the following:

  • improved pipeline that compiles, but then package with only
    yarn install --production
  • webpack that puts everything in a standalone file

This solution is temporary until we have a better approach. The
initial goal of the trimming of the .vsix was to reduce size of the
package. The archive contains a lot of useless stuff (especially
dev dependencies).

Ideally, we would have one of the following:
- improved pipeline that compiles, but then package with only
`yarn install --production`
- webpack that puts everything in a standalone file
@Baccata Baccata merged commit 82a2a09 into main Aug 18, 2022
@Baccata Baccata deleted the dfrancoeur/vsix-fix branch August 18, 2022 13:05
@daddykotex
Copy link
Contributor Author

for context:

  1. now: smithy-0.0.0.vsix (105 files, 179.78KB)
  2. 0.0.5: smithy-0.0.0.vsix (19 files, 24.47KB)
  3. before: smithy-0.0.0.vsix (173 files, 280.32KB)

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.

None yet

2 participants