mirror of
https://github.com/mivodev/mivodev.github.io.git
synced 2026-01-26 21:41:53 +07:00
Fix dependencies: Add flag-icons, tailwind directives, and postcss config
This commit is contained in:
11
node_modules/@algolia/autocomplete-shared/dist/esm/safelyRunOnBrowser.js
generated
vendored
Normal file
11
node_modules/@algolia/autocomplete-shared/dist/esm/safelyRunOnBrowser.js
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
/**
|
||||
* Safely runs code meant for browser environments only.
|
||||
*/
|
||||
export function safelyRunOnBrowser(callback) {
|
||||
if (typeof window !== 'undefined') {
|
||||
return callback({
|
||||
window: window
|
||||
});
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
Reference in New Issue
Block a user