-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Description
It's time to switch to ESM.
{
"compilerOptions": {
"target": "es2022", // not esnext because that may include non-javascript
"module": "nodenext", // evergreen ESM resolution (i.e. importmaps)
"moduleResolution": "nodenext", // nodenext requires `module` to be nodenext
"paths": {
"example/*": ["./js/*"],
"passkey": ["./lib/passkey.js"],
"localstore": ["./lib/localstore.js"]
},
"typeRoots": ["./typings","./node_modules/@types"],
"allowJs": true,
"checkJs": true,
"noEmit": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"strict": true,
"noImplicitAny": true,
"alwaysStrict": true,
"skipLibCheck": true
},
"include": [
"*.js",
"js/**/*.js",
"bin/**/*.js",
"lib/**/*.js",
"src/**/*.js"
],
"exclude": ["node_modules"]
}Metadata
Metadata
Assignees
Labels
No labels