Skip to content

Commit 60a4de1

Browse files
committed
fix broken imports
1 parent 22b1f1b commit 60a4de1

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

dev/src/payload.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default buildConfig({
1818
baseDir: path.resolve(dirname),
1919
},
2020
components: {
21-
afterLogin: ["./components/OAuthLoginButton#OAuthLoginButton"],
21+
afterLogin: ["app/components/OAuthLoginButton#OAuthLoginButton"],
2222
},
2323
user: Users.slug,
2424
},

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "payload-oauth2",
3-
"version": "1.0.4",
3+
"version": "1.0.5",
44
"type": "module",
55
"homepage:": "https://payloadcms.com",
66
"repository": "https://github.com/WilsonLe/payload-oauth2",

tsconfig.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"declaration": true,
1313
"declarationDir": "./dist",
1414
"skipLibCheck": true,
15-
"strict": true
15+
"strict": true,
16+
"baseUrl": "src"
1617
},
17-
"include": ["src/**/*", "dev/src/mocks"]
18+
"include": ["src/**/*"]
1819
}

0 commit comments

Comments
 (0)