Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

secrets.development.js cant be detected in content/index.tsx #67

Open
teffy-tr opened this issue Sep 9, 2021 · 3 comments
Open

secrets.development.js cant be detected in content/index.tsx #67

teffy-tr opened this issue Sep 9, 2021 · 3 comments

Comments

@teffy-tr
Copy link

teffy-tr commented Sep 9, 2021

I am trying to import the secrets but content wont detect the path.

Screen Shot 2021-09-10 at 4 37 25 AM

Screen Shot 2021-09-10 at 4 41 44 AM
Screen Shot 2021-09-10 at 4 35 14 AM

Also, is there any example to follow on how you properly use the secrets?
Thank you.

@teffy-tr teffy-tr changed the title secrets.development.js cant be detected in content/index.js secrets.development.js cant be detected in content/index.tsx Sep 9, 2021
@shoaib30
Copy link

shoaib30 commented Apr 4, 2022

did you figure it out? I think its to do with typescript types.

@spielerx
Copy link

just
import secrets from 'secrets';

@ghunkins
Copy link

Yes, this is a typescript issue. Update the import to:

// @ts-ignore
import secrets from "secrets";

Would prefer another solution, but this works for now for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants