-
-
Notifications
You must be signed in to change notification settings - Fork 493
Feat: Allow flags to support the webpack-cli #628
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
Open
info-arnav
wants to merge
15
commits into
webpack-contrib:master
Choose a base branch
from
info-arnav:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
ddb03e9
feat: added flags
info-arnav cea8d22
fix: added flags to analyzer.js
info-arnav 075b38c
fix: corrected import
info-arnav 31b187c
fix: mapped options in analyzer plugin as well
info-arnav d3353f6
fix: reverted package-lock.json to orignal state
info-arnav c68dfb7
fix: reverted format changes on analyzer.js
info-arnav 81d5b7d
feat: added the flags to analyzer file'
info-arnav 879e9fe
fix: revert to no changes bin/analyze.js
info-arnav 009e3b2
fix: added changes to bin/analyzer.js with minimal changes
info-arnav 36d7bc7
Merge branch 'webpack-contrib:master' into master
info-arnav 737a267
docs: added the analyze cli build command to readme.md
info-arnav 87b033e
Merge branch 'master' of https://github.com/info-arnav/webpack-bundle…
info-arnav 72dc78d
docs: edited readme.md
info-arnav d49ec5f
docs: format changes readme.md
info-arnav 2264b56
docs: updated changelog.md
info-arnav File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "webpack-bundle-analyzer", | ||
"version": "4.10.2", | ||
"version": "4.10.3", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. no new version |
||
"description": "Webpack plugin and CLI utility that represents bundle content as convenient interactive zoomable treemap", | ||
"author": "Yury Grunin <[email protected]>", | ||
"license": "MIT", | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,165 @@ | ||
"use strict"; | ||
|
||
module.exports = { | ||
version: { | ||
configs: [ | ||
{ | ||
type: "boolean", | ||
multiple: false, | ||
description: "Output the version number", | ||
path: "version", | ||
}, | ||
], | ||
description: "Output the version number", | ||
simpleType: "boolean", | ||
multiple: false, | ||
}, | ||
mode: { | ||
configs: [ | ||
{ | ||
type: "enum", | ||
values: ["server", "static", "json"], | ||
multiple: false, | ||
description: | ||
"The mode to run the analyzer in: server, static, or json.", | ||
path: "mode", | ||
defaultValue: "server", | ||
}, | ||
], | ||
description: "The mode to run the analyzer in: server, static, or json.", | ||
simpleType: "string", | ||
multiple: false, | ||
}, | ||
report: { | ||
configs: [ | ||
{ | ||
type: "string", | ||
multiple: false, | ||
description: | ||
'Path to bundle report file that will be generated in "static" mode.', | ||
path: "report", | ||
defaultValue: "report.html", | ||
}, | ||
], | ||
description: | ||
'Path to bundle report file that will be generated in "static" mode.', | ||
simpleType: "string", | ||
multiple: false, | ||
}, | ||
title: { | ||
configs: [ | ||
{ | ||
type: "string", | ||
multiple: false, | ||
description: "String to use in title element of html report.", | ||
path: "title", | ||
defaultValue: "Webpack Bundle Report", | ||
}, | ||
], | ||
description: "String to use in title element of html report.", | ||
simpleType: "string", | ||
multiple: false, | ||
}, | ||
size: { | ||
configs: [ | ||
{ | ||
type: "enum", | ||
values: ["stat", "parsed", "gzip"], | ||
multiple: false, | ||
description: "Module sizes to show in treemap by default.", | ||
path: "defaultSizes", | ||
defaultValue: "parsed", | ||
}, | ||
], | ||
description: "Module sizes to show in treemap by default.", | ||
simpleType: "string", | ||
multiple: false, | ||
}, | ||
"Dont Open": { | ||
configs: [ | ||
{ | ||
type: "boolean", | ||
multiple: false, | ||
description: "Don't open report in default browser automatically", | ||
path: "noOpen", | ||
defaultValue: false, | ||
}, | ||
], | ||
description: "Don't open report in default browser automatically", | ||
simpleType: "boolean", | ||
multiple: false, | ||
}, | ||
port: { | ||
configs: [ | ||
{ | ||
type: "number", | ||
multiple: false, | ||
description: | ||
"Port that will be used in `server` mode, default is 8888.", | ||
path: "port", | ||
defaultValue: 8888, | ||
}, | ||
], | ||
description: "Port that will be used in `server` mode, default is 8888.", | ||
simpleType: "number", | ||
multiple: false, | ||
}, | ||
host: { | ||
configs: [ | ||
{ | ||
type: "string", | ||
multiple: false, | ||
description: | ||
"Host that will be used in `server` mode, default is 127.0.0.1.", | ||
path: "host", | ||
defaultValue: "127.0.0.1", | ||
}, | ||
], | ||
description: | ||
"Host that will be used in `server` mode, default is 127.0.0.1.", | ||
simpleType: "string", | ||
multiple: false, | ||
}, | ||
"log-level": { | ||
configs: [ | ||
{ | ||
type: "enum", | ||
values: ["debug", "info", "warn", "error", "silent"], | ||
multiple: true, | ||
description: "Level of logger (info, warn, error, silent).", | ||
path: "logLevel", | ||
defaultValue: "info", | ||
}, | ||
], | ||
description: "Level of logger (info, warn, error, silent).", | ||
simpleType: "string", | ||
multiple: true, | ||
}, | ||
exclude: { | ||
configs: [ | ||
{ | ||
type: "string", | ||
multiple: false, | ||
description: "Assets that should be excluded from the report.", | ||
path: "exclude", | ||
defaultValue: "", | ||
}, | ||
], | ||
description: "Assets that should be excluded from the report.", | ||
simpleType: "string", | ||
multiple: false, | ||
}, | ||
help: { | ||
configs: [ | ||
{ | ||
type: "boolean", | ||
multiple: false, | ||
description: "output usage information", | ||
path: "help", | ||
}, | ||
], | ||
description: "Output usage information", | ||
simpleType: "boolean", | ||
multiple: false, | ||
}, | ||
}; |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
uncommit