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

Typescript Config File Support #62

Closed
joshmossas opened this issue Sep 16, 2022 · 1 comment
Closed

Typescript Config File Support #62

joshmossas opened this issue Sep 16, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@joshmossas
Copy link
Member

Goals of this feature:

  • Make it possible to use a typescript config file such as contentful-hugo.config.ts.
  • Enabled autocomplete with a defineConfig method similar to nuxt (see here) and vite (see here)
  • Support ES6 import/exports
// contentful-hugo.config.ts
import { defineConfig } from 'contentful-hugo';

export default defineConfig({
  // config goes here
})
@joshmossas joshmossas added the enhancement New feature or request label Sep 16, 2022
@joshmossas
Copy link
Member Author

closed by #66

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

No branches or pull requests

1 participant