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

Bundling with webpack results an increase in the package size #4

Open
MoatazAbdallh opened this issue May 11, 2022 · 0 comments
Open

Comments

@MoatazAbdallh
Copy link

Hi,

Iam only using SQLDialect.PLpgSQL through the following imports
import {SQLAutocomplete, SQLDialect} from "sql-autocomplete";

and using webpack to bundle for production package but it seems the result package include all dialect and even non-used dependencies, please refer to the attached image

antlr

is there anyway to fix this and include only dependencies relevant to my imports

@MoatazAbdallh MoatazAbdallh changed the title Bundling with webpack results increase in the package size Bundling with webpack results an increase in the package size May 11, 2022
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

No branches or pull requests

1 participant