We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0bfd0b2 + b62c3f2 commit 9b54f4dCopy full SHA for 9b54f4d
1 file changed
webpack.base.config.js
@@ -52,11 +52,13 @@ module.exports = {
52
},
53
module: {
54
rules: [{
55
- test: /\.js$/,
56
- // include: [ path.resolve('src'), ],
57
- exclude: [
58
- /node_modules\/(?!(earcut|kdbush|proj4|wkt-parser)\/).*/,
59
- path.resolve('tests')
+ test: /\.(js|cjs)$/,
+ include: [
+ path.resolve('src'),
+ /node_modules\/earcut/,
+ /node_modules\/kdbush/,
60
+ /node_modules\/wkt-parser/,
61
+ /node_modules\/@velipso\/polybool/
62
],
63
use: [{
64
loader: 'babel-loader',
0 commit comments