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

Improve and simplify webpack build #2277

Merged
merged 1 commit into from
Jan 12, 2022

Conversation

AlanGreene
Copy link
Member

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 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.

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.

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.
@tekton-robot tekton-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Jan 10, 2022
@AlanGreene AlanGreene removed the request for review from steveodonovan January 10, 2022 13:33
Copy link
Contributor

@briangleeson briangleeson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Jan 12, 2022
@tekton-robot
Copy link
Contributor

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 12, 2022
@tekton-robot tekton-robot merged commit 28dbf4b into tektoncd:main Jan 12, 2022
@AlanGreene AlanGreene deleted the frontend_build branch January 12, 2022 13:31
AlanGreene added a commit to AlanGreene/dashboard that referenced this pull request May 11, 2022
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.
AlanGreene added a commit to AlanGreene/dashboard that referenced this pull request May 11, 2022
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.
tekton-robot pushed a commit that referenced this pull request May 12, 2022
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants