You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Try using import.meta.dirname inside wxt.config.ts file.
✖ Command failed after 96 ms 5:14:37 PM
ERROR Cannot use 'import.meta' outside a module 5:14:37 PM
import.meta.dirname;
^^^^
SyntaxError: Cannot use 'import.meta' outside a module
at new Script (node:vm:99:7)
at createScript (node:vm:255:10)
at Object.runInThisContext (node:vm:303:10)
Reproduction
Use import.meta.dirname inside wxt.config.ts file.
Describe the bug
Try using
import.meta.dirname
insidewxt.config.ts
file.Reproduction
Use
import.meta.dirname
insidewxt.config.ts
file.Steps to reproduce
No response
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: