Skip to content

Commit

Permalink
added basic build exports
Browse files Browse the repository at this point in the history
  • Loading branch information
niftyvictor committed Nov 8, 2024
1 parent bf9e00f commit b44752f
Show file tree
Hide file tree
Showing 6 changed files with 48 additions and 0 deletions.
10 changes: 10 additions & 0 deletions recipe/webauthn/emaildelivery/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
export * from "../../../lib/build/recipe/webauthn/emaildelivery/services";
/**
* 'export *' does not re-export a default.
* import NextJS from "supertokens-node/nextjs";
* the above import statement won't be possible unless either
* - user add "esModuleInterop": true in their tsconfig.json file
* - we do the following change:
*/
import * as _default from "../../../lib/build/recipe/webauthn/emaildelivery/services";
export default _default;
6 changes: 6 additions & 0 deletions recipe/webauthn/emaildelivery/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
"use strict";
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
exports.__esModule = true;
__export(require("../../../lib/build/recipe/webauthn/emaildelivery/services"));
10 changes: 10 additions & 0 deletions recipe/webauthn/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
export * from "../../lib/build/recipe/webauthn";
/**
* 'export *' does not re-export a default.
* import NextJS from "supertokens-node/nextjs";
* the above import statement won't be possible unless either
* - user add "esModuleInterop": true in their tsconfig.json file
* - we do the following change:
*/
import * as _default from "../../lib/build/recipe/webauthn";
export default _default;
6 changes: 6 additions & 0 deletions recipe/webauthn/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
"use strict";
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
exports.__esModule = true;
__export(require("../../lib/build/recipe/webauthn"));
10 changes: 10 additions & 0 deletions recipe/webauthn/types/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
export * from "../../../lib/build/recipe/webauthn/types";
/**
* 'export *' does not re-export a default.
* import NextJS from "supertokens-node/nextjs";
* the above import statement won't be possible unless either
* - user add "esModuleInterop": true in their tsconfig.json file
* - we do the following change:
*/
import * as _default from "../../../lib/build/recipe/webauthn/types";
export default _default;
6 changes: 6 additions & 0 deletions recipe/webauthn/types/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
"use strict";
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
exports.__esModule = true;
__export(require("../../../lib/build/recipe/webauthn/types"));

0 comments on commit b44752f

Please sign in to comment.