Skip to content

Commit a3c1d75

Browse files
authored
Add .coffee extension to the babel. (#2883)
CoffeeScript both included as a rule in `rules/` and also in `resolves` but its not processed with coffe. This also fixes #2845. See the comments of that issue for more details.
1 parent 1258698 commit a3c1d75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package/rules/babel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const {
88
const { isProduction } = require('../env')
99

1010
module.exports = {
11-
test: /\.(js|jsx|mjs|ts|tsx)?(\.erb)?$/,
11+
test: /\.(js|jsx|mjs|ts|tsx|coffee)?(\.erb)?$/,
1212
include: [sourcePath, ...additionalPaths].map((p) => {
1313
try {
1414
return realpathSync(p)

0 commit comments

Comments
 (0)