Skip to content

Commit

Permalink
fix(custom-setup): add dev-dependencies (#436)
Browse files Browse the repository at this point in the history
  • Loading branch information
danilowoz authored Apr 12, 2022
1 parent 855c4f5 commit df2f906
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions sandpack-react/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,16 @@ export interface SandpackSetup {
*/
dependencies?: Record<string, string>;

/**
* Examples:
* ```js
* {
* "@types/react": "latest",
* }
* ```
*/
devDependencies?: Record<string, string>;

/**
* The entry file is the starting point of the bundle process.
*
Expand Down

0 comments on commit df2f906

Please sign in to comment.