Describe the bug
Console error for only json, html and css languages. For other languages it's working fine.
jsonMode.js:7 Uncaught ReferenceError: exports is not defined
at jsonMode.js:7
at jsonMode.js:7
at t._createAndEvalScript (loader.js:794)
at loader.js:776
at FSReqCallback.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:61)
(anonymous) @ jsonMode.js:7
(anonymous) @ jsonMode.js:7
t._createAndEvalScript @ loader.js:794
(anonymous) @ loader.js:739
readFileAfterClose @ internal/fs/read_file_context.js:61
htmlMode.js:7 Uncaught ReferenceError: exports is not defined
at htmlMode.js:7
at htmlMode.js:7
at t._createAndEvalScript (loader.js:794)
at loader.js:776
at FSReqCallback.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:61)
(anonymous) @ htmlMode.js:7
(anonymous) @ htmlMode.js:7
t._createAndEvalScript @ loader.js:794
(anonymous) @ loader.js:739
readFileAfterClose @ internal/fs/read_file_context.js:61
cssMode.js:7 Uncaught ReferenceError: exports is not defined
at cssMode.js:7
at cssMode.js:7
at t._createAndEvalScript (loader.js:794)
at loader.js:776
at FSReqCallback.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:61)
To Reproduce
Steps to reproduce the behavior:
Or, please add a minimal code snippet to reproduce the issue, for example in codesandbox.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help to explain your problem.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4