sandpack
sandpack copied to clipboard
Use multiple lines of comments at the beginning of the file. Typescript and JavaScript files are not highlighted
Bug report
Packages affected
- [ ] sandpack-client
- [x] sandpack-react
Description of the problem
Use multiple lines of comments at the beginning of the file. Typescript and JavaScript files are not highlighted
What were you doing when the problem occurred?
What steps can we take to reproduce the problem?
Link to sandbox: link (optional)
Your Environment
Software | Name/Version |
---|---|
Sandpack-client version | |
Sandpack-react version | ^2.1.2 |
Browser | Chome |
Operating System | Windows11 |
Hey, thanks for reporting this issue. However, I can't reproduce it. Could you create a sandbox where I can reproduce and debug it? For example: https://codesandbox.io/s/brave-saha-huxe4r?file=/src/App.tsx
The sandpack docs can reproduce the problem.
- I can't reproduce this problem in codesandbox.
- In my project, this problem occurs when using pnpm.