mirror of
https://github.com/EthanMarti/infio-copilot.git
synced 2026-07-08 17:42:46 +00:00
init
This commit is contained in:
7
import-meta-url-shim.js
Normal file
7
import-meta-url-shim.js
Normal file
@@ -0,0 +1,7 @@
|
||||
const import_meta_url =
|
||||
typeof document === 'undefined'
|
||||
? require('url').pathToFileURL(__filename).href
|
||||
: (document.currentScript && document.currentScript.src) ||
|
||||
new URL('main.js', document.baseURI).href
|
||||
|
||||
export { import_meta_url }
|
||||
Reference in New Issue
Block a user