package/rules/babel.js in webpacker-6.0.0.pre.2 vs package/rules/babel.js in webpacker-6.0.0.rc.1
- old
+ new
@@ -6,10 +6,10 @@
additional_paths: additionalPaths
} = require('../config')
const { isProduction } = require('../env')
module.exports = {
- test: /\.(js|jsx|mjs|ts|tsx)?(\.erb)?$/,
+ test: /\.(js|jsx|mjs|ts|tsx|coffee)?(\.erb)?$/,
include: [sourcePath, ...additionalPaths].map((p) => {
try {
return realpathSync(p)
} catch (e) {
return resolve(p)