-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d6aee79
commit 1f6169b
Showing
3 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
const path = require('path') | ||
|
||
global.SETUP_CJS = path.basename(__filename) // using some cjs stuff here to make sure it works | ||
globalThis.SETUP_CJS = path.basename(__filename) // using some cjs stuff here to make sure it works |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
import path from 'path' | ||
|
||
global.SETUP_JS_MODULE = path.basename(import.meta.url) | ||
globalThis.SETUP_JS_MODULE = path.basename(import.meta.url) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
import path from 'path' | ||
|
||
global.SETUP_MJS = path.basename(import.meta.url) | ||
globalThis.SETUP_MJS = path.basename(import.meta.url) |