Skip to content

Commit

Permalink
fix: Ensure compatibility with older systems
Browse files Browse the repository at this point in the history
We need to keep the old grider tests running.
  • Loading branch information
manthey committed Oct 10, 2023
1 parent 0539ead commit 27f3b67
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions webpack.base.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ module.exports = {
module: {
rules: [{
test: /\.js$/,
include: path.resolve('src'),
// include: path.resolve('src'),
exclude: /node_modules\/(?!kdbush\/).*/,
use: [{
loader: 'babel-loader',
options: {
Expand All @@ -75,7 +76,10 @@ module.exports = {
use: [{
loader: 'babel-loader',
options: {
cacheDirectory: true
cacheDirectory: true,
presets: [['@babel/preset-env', {
targets: 'defaults, PhantomJS 2.1'
}]]
}
}]
}, {
Expand Down

0 comments on commit 27f3b67

Please sign in to comment.