Skip to content

Commit

Permalink
Merge pull request #1305 from OpenGeoscience/fix-es5-build
Browse files Browse the repository at this point in the history
fix: Ensure compatibility with older systems
  • Loading branch information
manthey authored Nov 7, 2023
2 parents d817607 + ae62dc3 commit 190e472
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions webpack.base.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand All @@ -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',
Expand Down

0 comments on commit 190e472

Please sign in to comment.