Skip to content

Commit 88e7e6a

Browse files
committed
docs: add comment
1 parent 530f7cc commit 88e7e6a

File tree

1 file changed

+2
-0
lines changed
  • packages/brisa/src/utils/get-content-type-from-path

1 file changed

+2
-0
lines changed

packages/brisa/src/utils/get-content-type-from-path/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ import mime from 'mime-types';
77
*
88
* @todo TODO: Remove this in the future when we have a better solution in Node.js
99
*
10+
* Node issue: https://github.com/nodejs/node/issues/54595
11+
*
1012
* In Bun is possible via Bun(file).type, but there are some differences, like:
1113
* - test.js is text/javascript;charset=utf-8 instead of application/javascript;charset=utf-8
1214
*/

0 commit comments

Comments
 (0)