Skip to content

Commit 0090220

Browse files
committed
Add support for cjs config files
closes #116
1 parent ee3f7d2 commit 0090220

File tree

4 files changed

+6632
-2
lines changed

4 files changed

+6632
-2
lines changed

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Then, add the following to your `package.json`:
3030

3131
Feel free to change the output path to whatever you like.
3232

33-
Next, the codegen will expect you to have created a file called either `getContentfulEnvironment.js` or `getContentfulEnvironment.ts`
33+
Next, the codegen will expect you to have created a file called `getContentfulEnvironment.js`, `getContentfulEnvironment.cjs` or `getContentfulEnvironment.ts`
3434
in the root of your project directory, which should export a promise that resolves with your Contentful environment.
3535

3636
The reason for this is that you can do whatever you like to set up your Contentful Management

0 commit comments

Comments
 (0)