Skip to content

Commit

Permalink
Update prismTheme.js export to use CommonJS syntax (#9)
Browse files Browse the repository at this point in the history
Tried running `yarn build` but it didn't work. I asked Claude for help and it told me I had to update this line and then it worked. I tried looking at how we did it with the `docs/eval-docs` part of `lmai` repo (https://github.com/lastmile-ai/lmai/blob/main/docs/eval-docs/tsconfig.json), but couldn't get it to work with those changes. 

This gets me unblocked so doing it for now and putting in really easy line so that it's easy to review

## Test Plan
```bash
yarn build
```
  • Loading branch information
rossdanlm authored Oct 2, 2024
2 parents fa5b922 + 05585d0 commit 24b6578
Show file tree
Hide file tree
Showing 2 changed files with 130 additions and 232 deletions.
2 changes: 1 addition & 1 deletion website/core/prismTheme.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,4 +123,4 @@ const theme = {
],
};

export default theme;
module.exports = theme;
Loading

0 comments on commit 24b6578

Please sign in to comment.