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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Razzle 4 will not copy hidden files from public dir to build dir #1874
Comments
modify https://github.com/jaredpalmer/razzle/blob/master/packages/razzle/config/createConfigAsync.js#L957 remove and readd plugin in razzle config customization |
not sure I follow... shall I go ahead and add the |
Yes |
please review :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
馃悰 Bug report
Current Behavior
Inside the
public
directory, we have a hidden folder that needs to be copied into thebuild/public
directory.FTR the hidden folder
.well-known
is for Google's Digital Asset Links protocol, which needs to serve the following file: www.domain.com/.well-known/assetlinks.jsonUsing Razzle v3, this hidden folder was being copied to the
build/public
directory.Upon upgrading to Razzle v4, this folder is omitted.
Expected behavior
Hidden folder inside
public
should also be copied tobuild/public
during build.Suggested solution(s)
Razzle 4 makes use of
webpack-copy-plugin
to copy these files.There is a configuration missing in the patterns globOptions, required to also include hidden files:
globOptions: { dot: true }
Your environment
The text was updated successfully, but these errors were encountered: