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
Using create-react-app (with the included webpack 4), trying to add a <SignInButton /> component fails to import:
create-react-app
<SignInButton />
Module not found: Can't resolve '@fission-suite/kit/components/react' in '/Users/walkah/Projects/fission-suite/blog/src/components'
Relevant code is:
import { SignInButton } from "@fission-suite/kit/components/react";
The text was updated successfully, but these errors were encountered:
Webpack 4 doesn't support the exports map (see webpack/webpack#9509) (more info about exports https://docs.skypack.dev/package-authors/package-checks#export-map)
exports
In that case you can do the following import instead:
import { SignInButton } from "@fission-suite/kit/src/Components/React/index.js"
(you might be able to drop the /index.js)
/index.js
If you need to do this with require, replace src with lib.
require
src
lib
Sorry, something went wrong.
No branches or pull requests
Using
create-react-app
(with the included webpack 4), trying to add a<SignInButton />
component fails to import:Relevant code is:
The text was updated successfully, but these errors were encountered: