-
Notifications
You must be signed in to change notification settings - Fork 263
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
Improve and simplify webpack build #2277
Conversation
Ensure we use consistent hashing method for vendor bundle to avoid unnecessary rebuilds. Remove the `build_ko` npm script as we no longer need to support two different locations for the build output. This was leftover from some very early releases of the Dashboard. The webpack build output should always be placed in the `kodata` folder. Update docs to reflect the change.
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.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: briangleeson The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
We removed the dist folder in tektoncd#2277 but missed a few references. Remove these and fix the `build:analyze` script to point at the correct location for the webpack build output.
We removed the dist folder in tektoncd#2277 but missed a few references. Remove these and fix the `build:analyze` script to point at the correct location for the webpack build output.
We removed the dist folder in #2277 but missed a few references. Remove these and fix the `build:analyze` script to point at the correct location for the webpack build output.
Changes
Ensure we use consistent hashing method for vendor bundle to avoid
unnecessary rebuilds.
Remove the
build_ko
npm script as we no longer need to support twodifferent locations for the build output. This was leftover from
some very early releases of the Dashboard. The webpack build output
should always be placed in the
kodata
folder. Update docs to reflectthe change.
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
See the contribution guide
for more details.