From ae62dc318a5846dba2695023ce6ff08a284b1207 Mon Sep 17 00:00:00 2001 From: David Manthey Date: Tue, 7 Nov 2023 16:36:22 -0500 Subject: [PATCH] fix: Ensure compatibility with older systems We need to keep the old grider tests running. This should have both has the correct coverage and the older compatibility support. --- webpack.base.config.js | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/webpack.base.config.js b/webpack.base.config.js index 5f8ea9fd4b..41abae9ed3 100644 --- a/webpack.base.config.js +++ b/webpack.base.config.js @@ -54,12 +54,11 @@ module.exports = { module: { rules: [{ test: /\.js$/, - include: [ - path.resolve('src'), - path.resolve('examples'), - path.resolve('tutorials') + // include: [ path.resolve('src'), ], + exclude: [ + /node_modules\/(?!kdbush\/).*/, + path.resolve('tests') ], - exclude: /node_modules\/(?!kdbush\/).*/, use: [{ loader: 'babel-loader', options: { @@ -72,7 +71,9 @@ module.exports = { }, { test: /\.js$/, include: [ - path.resolve('tests') + path.resolve('tests'), + path.resolve('examples'), + path.resolve('tutorials') ], use: [{ loader: 'babel-loader',