We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Moving the CSS into a separate import would allow it to load properly on all versions of React.
Using REMIX - https://remix.run/
The text was updated successfully, but these errors were encountered:
Hi Ricardo. Thanks for raising this issue. The plugin wasn't tested with Remix, but I would love to make it work.
Please clarify what you mean by "Moving the CSS into a separate import."
Sorry, something went wrong.
9ffacf5
The package now works with Remix!🎉
Add "@codesweetly/react-youtube-playlist" to your remix.config.js file:
"@codesweetly/react-youtube-playlist"
remix.config.js
/** @type {import('@remix-run/dev').AppConfig} */ module.exports = { ignoredRouteFiles: ["**/.*"], + serverDependenciesToBundle: ["@codesweetly/react-youtube-playlist"], serverModuleFormat: "cjs", future: { v2_dev: true, v2_errorBoundary: true, v2_headers: true, v2_meta: true, v2_normalizeFormMethod: true, v2_routeConvention: true, }, };
By so doing, Remix will transpile and include the package in the server bundle.
You can read more about the configuration option in the official doc or @dan-cooke's issue comment.
No branches or pull requests
Moving the CSS into a separate import would allow it to load properly on all versions of React.
Using REMIX - https://remix.run/
The text was updated successfully, but these errors were encountered: