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

Defaults values for files, maxSize and compression algorithm in cli #304

Open
anikethsaha opened this issue May 15, 2019 · 1 comment
Open

Comments

@anikethsaha
Copy link

anikethsaha commented May 15, 2019

Do you want to request a feature or report a bug?
feature, more like better if present.

What is the current behavior?
Currently, it does not have any default value except for the compression algorithm.

If the current behavior is a bug, please provide the steps to reproduce.
run the below command without having any config for bundlesize in package.json
$ npx bundlesize
This will be the error

 ERROR  Config not found.

    You can read about the configuration options here:
    https://github.com/siddharthkp/bundlesize#configuration

If this is a feature request, what is motivation or use case for changing the behavior?
maximum time this package can be used to do a quick clip test for the size of the project and if there can be a way to avoid these errors with the default error . Notifying the user about the default values and using it may be a good experience

Please mention other relevant information.

  • node version : v10.15.3
  • npm version: 6.9.0
  • Operating system: Windows 10
  • bundlesize version : 0.17.1
  • CI you are using: None
@anikethsaha
Copy link
Author

PTAL at the implementation

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