import openid from the ts source instead to build properly as esmodule

This commit is contained in:
Jacob Overgaard
2024-04-08 11:52:15 +02:00
parent 44a6e0085f
commit 677d130437
2 changed files with 12 additions and 11 deletions

View File

@@ -1,16 +1,17 @@
export {
BaseTokenRequestHandler,
BasicQueryStringUtils,
FetchRequestor,
LocalStorageBackend,
RedirectRequestHandler,
RevokeTokenRequest,
AuthorizationNotifier,
AuthorizationRequest,
AuthorizationServiceConfiguration,
GRANT_TYPE_AUTHORIZATION_CODE,
GRANT_TYPE_REFRESH_TOKEN,
BaseTokenRequestHandler,
FetchRequestor,
BasicQueryStringUtils,
LocalStorageBackend,
RedirectRequestHandler,
TokenRequest,
TokenResponse,
} from '@openid/appauth';
export type { LocationLike, StringMap } from '@openid/appauth';
RevokeTokenRequest,
GRANT_TYPE_AUTHORIZATION_CODE,
GRANT_TYPE_REFRESH_TOKEN,
} from '@openid/appauth/src/index.js';
export type { LocationLike, StringMap } from '@openid/appauth/src/types.js';

View File

@@ -35,7 +35,7 @@ export default {
},
}),
commonjs({
include: ['node_modules/**', 'src/external/**'],
include: [/node_modules/],
}),
],
testRunnerHtml: (testFramework, devMode) =>