Type error fixes cause errors in next.js
jaywcjlove opened this issue · comments
小弟调调 commented
@timlrx Type error fixes cause errors in next.js
Originally posted by @jaywcjlove in #64 (comment)
rehype-prism-plus/package.json
Lines 13 to 29 in d8582ab
The reason for the error is: import
+require
must be used in combination in the exports field in next.js.
小弟调调 commented
.
├── all.d.ts
├── all.es.js
├── all.es.js.map
├── common.d.ts
├── common.es.js
├── common.es.js.map
├── generator.d.ts
├── generator.es.js
├── generator.es.js.map
├── index.d.ts
├── index.es.js
└── index.es.js.map
Modified the previous output type directory location
Timothy commented
Released as v1.6.3. Thanks for the fix!