package/rules/babel.js in webpacker-4.0.7 vs package/rules/babel.js in webpacker-4.1.0
- old
+ new
@@ -4,10 +4,10 @@
// Process application Javascript code with Babel.
// Uses application .babelrc to apply any transformations
module.exports = {
test: /\.(js|jsx|mjs)?(\.erb)?$/,
- include: [sourcePath, ...resolvedPaths].map(p => resolve(p)),
+ include: [sourcePath, ...resolvedPaths].map((p) => resolve(p)),
exclude: /node_modules/,
use: [
{
loader: 'babel-loader',
options: {