Skip to content

Commit e9cdd3f

Browse files
findoffCompuIves
authored andcommitted
add .mjs extension to utils/get-type (codesandbox#1471)
1 parent 0e57a09 commit e9cdd3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/app/src/app/utils/get-type.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const regexCasesMap = {
2222
react: /\.jsx$/,
2323
reason: /\.re$/,
2424
sass: /\.scss$/,
25-
javascript: /\.js$/,
25+
javascript: /\.m?js$/,
2626
typescript: /\.tsx?$/,
2727
console: /\.sh$/,
2828
// STARTS WITH

0 commit comments

Comments
 (0)