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
With React 17 i get error, React is not defined. My craco.config.js is the minimal as suggested by the guide.
const CracoEsbuildPlugin = require('craco-esbuild'); module.exports = { plugins: [{ plugin: CracoEsbuildPlugin }], };
Please note that i don't have
import React from "react";
Because it's not needed in react 17+
The text was updated successfully, but these errors were encountered:
Closing in favor of #7, but basically, esbuild does not support this yet. If you want to use this plugin you have to import React in all your files.
Sorry, something went wrong.
No branches or pull requests
With React 17 i get error, React is not defined.
My craco.config.js is the minimal as suggested by the guide.
Please note that i don't have
import React from "react";
Because it's not needed in react 17+
The text was updated successfully, but these errors were encountered: