Add a `main` field to `eslint-plugin-react-compiler`, fixes #29068. (#29072)
## Summary The main field is missing, this fixes it. Fixes #29068. ## How did you test this change? Manually patched the package and tried it in my codebase.
Christoph Nakazawa committed
May 16, 2024 at 06:02 UTC
cfeb491ee74073a48372c04d31142f5cacf2d5ec
1 file changed
+1
compiler/packages/eslint-plugin-react-compiler/package.json
+1
@@ -2,6 +2,7 @@
2
"name": "eslint-plugin-react-compiler",
3
"version": "0.0.0-experimental-e04a001-20240515",
4
"description": "ESLint plugin to display errors found by the React compiler.",
5
+ "main": "dist/index.js",
6
"scripts": {
7
"build": "rimraf dist && rollup --config --bundleConfigAsCjs",
8
"test": "tsc && jest"