Skip to content

Commit 9bb0a6c

Browse files
authored
Merge pull request #546 from inclinedadarsh/add-c
feat: Add C loader support for node_port
2 parents 12ecf23 + 690556d commit 9bb0a6c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source/ports/node_port/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,8 @@ const file_extensions_to_tag = {
367367
tsx: 'ts',
368368
/* Rust Loader */
369369
rs: 'rs',
370+
/* C Loader */
371+
c: 'c',
370372

371373
/* Note: By default js extension uses NodeJS loader instead of JavaScript V8 */
372374
/* Probably in the future we can differenciate between them, but it is not trivial */

0 commit comments

Comments
 (0)