Skip to content

Commit

Permalink
add loaders to babel-loader processing
Browse files Browse the repository at this point in the history
Signed-off-by: Ihor Dykhta <[email protected]>
  • Loading branch information
igorDykhta committed Jul 25, 2024
1 parent e62e42b commit 73d90ed
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions examples/webpack.config.local.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ function makeLocalDevConfig(env, EXAMPLE_DIR = LIB_DIR, externals = {}) {
exclude: [
/node_modules\/react-palm/,
/node_modules\/react-data-grid/,
/node_modules\/@probe\.gl/
/node_modules\/@probe\.gl/,
/node_modules\/@loaders\.gl/
]
},
// for compiling apache-arrow ESM module
Expand Down Expand Up @@ -231,7 +232,7 @@ function addBabelSettings(env, config, exampleDir) {
test: /\.(js|ts)$/,
loader: 'babel-loader',
options: BABEL_LOADER_OPTIONS,
include: [/node_modules\/@probe.gl/]
include: [/node_modules\/@probe\.gl/, /node_modules\/@loaders\.gl/]
}
]
}
Expand Down

0 comments on commit 73d90ed

Please sign in to comment.