Skip to content

Conversation

@tylergraf
Copy link

@tylergraf tylergraf commented Feb 21, 2019

Conditionally change based on if hf exists in root node_modules.

Changes

  • Copy webpack plugin - Used to copy over built (webpacked) hf code to /static/hf directory.
  • splitChunks was causing issues for any files hf was loading via webpack.
  • index.html => _index.html is so that we can serve it via express/ejs/snow
  • writeToDisk is so snow can serve the files based on the manifestMap provided by hf's webpack build.

Testing

I created a prerelease of these changes and pushed it to prod via EF here: https://beta.familysearch.org/frontier/tyler-mvp/. The fact that it shows the green border around the page in helper mode means that it's working.

image

@tylergraf tylergraf merged commit 79b51c2 into develop Feb 22, 2019
@tylergraf tylergraf deleted the hf branch February 22, 2019 00:37
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.

3 participants