We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f24592c commit c52212fCopy full SHA for c52212f
1 file changed
build.sh
@@ -72,10 +72,12 @@ cat > dist/web/search-engine.js << EOF
72
73
// Self-executing function to create a contained scope
74
const SearchEngine = (function() {
75
- $(cat dist/npm/index.js | grep -v "module.exports" | grep -v "exports." | grep -v "require(")
+ const exports = {};
76
+
77
+ $(cat dist/npm/index.js | grep -v "module.exports" | grep -v "require(")
78
79
// Return public API
- return { search };
80
+ return exports.default;
81
})();
82
83
// Expose to global environment
0 commit comments