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 00b3d35 commit 268b828Copy full SHA for 268b828
package.json
@@ -80,5 +80,8 @@
80
"src"
81
],
82
"testRegex": "/__tests__/.*-test\\.js$"
83
+ },
84
+ "browser": {
85
+ "./dist/utils/resolveImportedValue.js": "./dist/utils/resolveImportedValue.browser.js"
86
}
87
src/utils/resolveImportedValue.browser.js
@@ -0,0 +1,4 @@
1
+export default function resolveImportedValue() {
2
+ // The browser build does not support importing due to the lack of fs access.
3
+ return null;
4
+}
0 commit comments