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

Copy vendor entry to shared-modules #12427

Merged
merged 1 commit into from
Apr 30, 2020
Merged

Copy vendor entry to shared-modules #12427

merged 1 commit into from
Apr 30, 2020

Conversation

bkjohnson
Copy link
Contributor

@bkjohnson bkjohnson commented Apr 29, 2020

Description

Part of department-of-veterans-affairs/va.gov-team#8560

I initially tried to accomplish this using our existing webpack config but had no luck. There are some additional plugins discussed here that might work, but it seemed simpler to just use cp

Testing done

Successful local website build

Screenshots

Acceptance criteria

  • [ ]

Definition of done

  • Events are logged appropriately
  • Documentation has been updated, if applicable
  • A link has been provided to the originating GitHub issue (or connected to it via ZenHub)
  • No sensitive information (i.e. PII/credentials/internal URLs/etc.) is captured in logging, hardcoded, or specs

@bkjohnson bkjohnson requested a review from a team April 29, 2020 21:52
@va-bot va-bot temporarily deployed to vetsgov-pr-12427 April 29, 2020 21:53 Inactive
@va-vfs-bot va-vfs-bot temporarily deployed to master/vendor-cache-bust April 29, 2020 22:11 Inactive
@@ -53,6 +53,7 @@ fi
if [ "${assetSource}" = "local" ]; then
echo "Building application assets"
yarn build:webpack $webpackArgs
cp -v "${buildDir}generated/vendor.entry.js" "${buildDir}generated/shared-modules.entry.js"
Copy link
Contributor

Choose a reason for hiding this comment

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

🤔 This works for now, but we may need to circle back to this later. My tentative goal is to remove this script altogether when we move the content build out. If we still need this by then, we can come up with a better approach.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sounds good to me. I'm hoping we won't need this at that point.

@bkjohnson bkjohnson merged commit 4a33708 into master Apr 30, 2020
@bkjohnson bkjohnson deleted the vendor-cache-bust branch April 30, 2020 15:52
bkjohnson added a commit that referenced this pull request Apr 30, 2020
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

Successfully merging this pull request may close these issues.

4 participants