Skip to content

Commit

Permalink
fix example node-app arrow errors (#2508)
Browse files Browse the repository at this point in the history
Signed-off-by: Tomas Pulmano <tomas.pulmano@bird.co>
  • Loading branch information
tpulmano authored Jan 16, 2024
1 parent 24acc1a commit b3be6c9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions examples/node-app/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ const CONFIG = {
test: /\.json$/,
loader: 'json-loader',
exclude: [/node_modules/]
},
{
// fix for arrow-related errors
test: /\.mjs$/,
include: /node_modules/,
type: "javascript/auto"
}
]
},
Expand Down

0 comments on commit b3be6c9

Please sign in to comment.