Skip to content
This repository has been archived by the owner on Feb 16, 2021. It is now read-only.

React Helmet Meta Content not injected properly #55

Open
joelwilsonmt opened this issue Jul 18, 2019 · 0 comments
Open

React Helmet Meta Content not injected properly #55

joelwilsonmt opened this issue Jul 18, 2019 · 0 comments

Comments

@joelwilsonmt
Copy link

When using React Helmet and importing bootstrap (installed through npm: https://facebook.github.io/create-react-app/docs/adding-bootstrap) in the same page, none of the meta tags are being written into the on build.

From what I can tell, in the minifying process a bootstrap attribution for listing the authors is commented out with a comment starting with "/*!" so that it is not minified:

`/*!

For some reason, once built, the React Helmet tags are injected after the closing </style> tag in the , but either something in the above comment structure, or something in the minified bootstrap is appending the rest of the tags, making them unreadable to curl or crawl requests. Any help is greatly appreciated!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant