diff --git a/webpack.base.config.js b/webpack.base.config.js index b0891d9d20..a9ef75b3b2 100644 --- a/webpack.base.config.js +++ b/webpack.base.config.js @@ -55,7 +55,7 @@ module.exports = { test: /\.js$/, // include: [ path.resolve('src'), ], exclude: [ - /node_modules\/(?!kdbush\/).*/, + /node_modules\/(?!(kdbush|earcut)\/).*/, path.resolve('tests') ], use: [{