We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb792e7 commit 2c99f6eCopy full SHA for 2c99f6e
package.json
@@ -1,7 +1,10 @@
1
{
2
"name": "react-error-boundary",
3
- "version": "0.0.1",
+ "version": "0.0.4",
4
"description": "Simple reusable React error boundary component",
5
+ "files": [
6
+ "dist"
7
+ ],
8
"main": "dist/commonjs/index.js",
9
"scripts": {
10
"build": "npm run build:commonjs && npm run build:es && npm run build:umd",
src/index.js
@@ -1,3 +1,7 @@
/** @flow */
-export default from './ErrorBoundary';
+import ErrorBoundaryFallbackComponent from './ErrorBoundaryFallbackComponent';
+import ErrorBoundary from './ErrorBoundary';
+
+export default ErrorBoundary;
+export {ErrorBoundary, ErrorBoundaryFallbackComponent};
0 commit comments